diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/string.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/util/string.hpp b/include/mbgl/util/string.hpp index 13498ccb92..1cca386e21 100644 --- a/include/mbgl/util/string.hpp +++ b/include/mbgl/util/string.hpp @@ -49,9 +49,9 @@ inline std::string toString(uint8_t num) { return std::to_string(unsigned(num)); } -std::string toString(float); -std::string toString(double); -std::string toString(long double); +std::string toString(float, bool decimal = false); +std::string toString(double, bool decimal = false); +std::string toString(long double, bool decimal = false); inline std::string toString(std::exception_ptr error) { assert(error); |