MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ToNumber

Method ToNumber

MonaBase/sources/String.cpp:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130template<typename Type>
131bool String::ToNumber(const char* value, size_t size, Type& result) {
132 Exception ex;
133 result = ToNumber<Type>(ex, result, value, size);
134 return !ex;
135}
136
137template<typename Type>
138Type String::ToNumber(Exception& ex, Type failValue, const char* value, size_t size) {

Callers

nothing calls this directly

Calls 3

iscntrlFunction · 0.85
isdigitFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected