MCPcopy Create free account
hub / github.com/PDAL/PDAL / strToDouble

Function strToDouble

plugins/e57/libE57Format/src/StringFunctions.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 template std::string floatingPointToStr<double>( double value, int precision );
63
64 double strToDouble( const std::string &inStr )
65 {
66 std::istringstream iss{ inStr };
67 iss.imbue( std::locale::classic() );
68 double res = 0.;
69 iss >> res;
70 return res;
71 }
72
73}

Callers 2

startElementMethod · 0.85
endElementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected