MCPcopy Create free account
hub / github.com/Clarionos/clarion / to_pretty_string

Function to_pretty_string

libraries/fc/src/string.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 };
25
26 std::string to_pretty_string( int64_t value )
27 {
28 std::stringstream ss;
29 ss.imbue( {std::locale(), new comma_numpunct} );
30 ss << std::fixed << value;
31 return ss.str();
32 }
33
34#ifdef USE_FC_STRING
35 string::string(const char* s, int l) :my(s,l){ }

Callers 3

save_to_fileMethod · 0.85
runMethod · 0.85
to_pretty_stringMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected