| 19 | namespace measurement_utils |
| 20 | { |
| 21 | std::string ToStringPrecision(double d, int pr) |
| 22 | { |
| 23 | // We assume that the app will be restarted if a user changes device's locale. |
| 24 | static auto const locale = platform::GetCurrentLocale(); |
| 25 | |
| 26 | return ToStringPrecisionLocale(locale, d, pr); |
| 27 | } |
| 28 | |
| 29 | std::string ToStringPrecisionLocale(platform::Locale const & loc, double d, int pr) |
| 30 | { |
no test coverage detected