| 31 | } |
| 32 | |
| 33 | Float parse_value(const std::string& data) { |
| 34 | Float result = 0.0; |
| 35 | try { |
| 36 | result = std::stof(data); |
| 37 | } catch (std::exception& e) { |
| 38 | // conversion failed. |
| 39 | } |
| 40 | return result; |
| 41 | } |
| 42 | |
| 43 | std::string parse_formula(const std::string& data) { |
| 44 | size_t begin_pos = data.find('{'); |
no outgoing calls
no test coverage detected