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

Function lidardouble2string

LASlib/src/laswriter_txt.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262static void lidardouble2string(CHAR* string, double value)
263{
264 int len;
265 len = sprintf(string, "%.15f", value) - 1;
266 while (string[len] == '0') len--;
267 if (string[len] != '.') len++;
268 string[len] = '\0';
269}
270
271static void lidardouble2string(CHAR* string, double value, double precision)
272{

Callers 1

write_pointMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected