MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / FormatDouble

Function FormatDouble

examples/VulkanBenchmark.cpp:2172–2176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2170}
2171
2172static std::string FormatDouble(double value) {
2173 std::ostringstream out;
2174 out << std::fixed << std::setprecision(3) << value;
2175 return out.str();
2176}
2177
2178static std::string FormatBool(bool value) {
2179 return value ? "yes" : "no";

Callers 1

PrintResultTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected