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

Function to_string

libraries/fc/src/string.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 fc::string to_string(double d)
132 {
133 // +2 is required to ensure that the double is rounded correctly when read back in. http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html
134 std::stringstream ss;
135 ss << std::setprecision(std::numeric_limits<double>::digits10 + 2) << std::fixed << d;
136 return ss.str();
137 }
138
139 fc::string to_string( uint64_t d)
140 {

Callers 15

as_stringMethod · 0.70
format_stringFunction · 0.70
time.cppFile · 0.70
to_detail_stringMethod · 0.70
to_protobuf_schemaFunction · 0.50
connectMethod · 0.50
connectMethod · 0.50
resolveFunction · 0.50
create_raw_connectionMethod · 0.50
create_ssl_connectionMethod · 0.50
post_syncMethod · 0.50

Calls 1

strMethod · 0.45

Tested by

no test coverage detected