| 14 | } |
| 15 | |
| 16 | std::string String::DecToString(double value, int decimalPlaces) { |
| 17 | std::stringstream stream; |
| 18 | stream << std::fixed << std::setprecision(decimalPlaces) << value; |
| 19 | std::string s = stream.str(); |
| 20 | return s; |
| 21 | } |
| 22 | |
| 23 | void String::trim() { |
| 24 | auto str = this->backbuf; |
nothing calls this directly
no test coverage detected