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

Function lidardouble2string

src/lasinfo.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static int lidardouble2string(char* string, double value) {
186 int len;
187 len = sprintf(string, "%.15f", value) - 1;
188 while (string[len] == '0') len--;
189 if (string[len] != '.') len++;
190 string[len] = '\0';
191 return len;
192}
193
194static I32 lidardouble2string(char* string, double value, double precision) {
195 if (precision == 0.1)

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected