MCPcopy Create free account
hub / github.com/LAStools/LAStools / lidardouble2string

Function lidardouble2string

src/las2txt.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static void lidardouble2string(CHAR* string, double value) {
120 int len;
121 len = sprintf(string, "%.15f", value) - 1;
122 while (string[len] == '0') len--;
123 if (string[len] != '.') len++;
124 string[len] = '\0';
125}
126
127static void lidardouble2string(CHAR* string, double value, double precision) {
128 if (precision == 0.01)

Callers 2

print_attributeFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected