MCPcopy Create free account
hub / github.com/d99kris/rapidcsv / ToVal

Method ToVal

examples/ex008.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13{
14 template<>
15 void Converter<int>::ToVal(const std::string& pStr, int& pVal) const
16 {
17 pVal = static_cast<int>(roundf(100.0f * std::stof(pStr)));
18 }
19}
20
21int main()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected