diff options
Diffstat (limited to 'include/mbgl/i18n/number_format.hpp')
-rw-r--r-- | include/mbgl/i18n/number_format.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/mbgl/i18n/number_format.hpp b/include/mbgl/i18n/number_format.hpp new file mode 100644 index 0000000000..cb1e94c7bd --- /dev/null +++ b/include/mbgl/i18n/number_format.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include <string> + +namespace mbgl { +namespace platform { + +std::string formatNumber(double number, + const std::string& localeId, + const std::string& currency, + uint8_t minFractionDigits, + uint8_t maxFractionDigits); + +} // namespace platform +} // namespace mbgl |