| 22 | namespace |
| 23 | { |
| 24 | auto FormatTempo(double value) |
| 25 | { |
| 26 | auto rounded = std::to_string(std::round(value * 100) / 100); |
| 27 | rounded.erase(rounded.find_last_not_of('0') + 1, std::string::npos); |
| 28 | rounded.erase(rounded.find_last_not_of('.') + 1, std::string::npos); |
| 29 | return rounded; |
| 30 | } |
| 31 | } // namespace |
| 32 | |
| 33 | AudacityMirProject::AudacityMirProject(AudacityProject& project) |
no test coverage detected