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

Function lidardouble2string

LASlib/src/laswriter_wrl.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131static void lidardouble2string(CHAR* string, double value)
132{
133 int len;
134 len = sprintf(string, "%.15f", value) - 1;
135 while (string[len] == '0') len--;
136 if (string[len] != '.') len++;
137 string[len] = '\0';
138}
139
140static void lidardouble2string(CHAR* string, double value, double precision)
141{

Callers 1

write_pointMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected