Conversion function for int data to be converted to fixed-point two decimal numbers
| 7 | |
| 8 | // Conversion function for int data to be converted to fixed-point two decimal numbers |
| 9 | void ToVal(const std::string& pStr, int& pVal) |
| 10 | { |
| 11 | pVal = static_cast<int>(roundf(100.0f * std::stof(pStr))); |
| 12 | } |
| 13 | |
| 14 | struct Struct |
| 15 | { |
nothing calls this directly
no outgoing calls
no test coverage detected