summaryrefslogtreecommitdiff
path: root/include/mbgl/util/platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/platform.hpp')
-rw-r--r--include/mbgl/util/platform.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/util/platform.hpp b/include/mbgl/util/platform.hpp
index 3544659740..2e11e5f186 100644
--- a/include/mbgl/util/platform.hpp
+++ b/include/mbgl/util/platform.hpp
@@ -16,6 +16,9 @@ std::string lowercase(const std::string &string);
// Gets the name of the current thread.
std::string getCurrentThreadName();
+std::string formatNumber(double number, const std::string& localeId, const std::string& currency,
+ uint8_t minFractionDigits, uint8_t maxFractionDigits);
+
// Set the name of the current thread, truncated at 15.
void setCurrentThreadName(const std::string& name);