summaryrefslogtreecommitdiff
path: root/src/mbgl/util/string.cpp
blob: 47382093829842ef62ffdf2d9787d292dc1ad249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <mbgl/util/string.hpp>
#include <mbgl/util/dtoa.hpp>

namespace mbgl {
namespace util {

std::string toString(float num) {
    return dtoa(num);
}

std::string toString(double num) {
    return dtoa(num);
}

std::string toString(long double num) {
    return dtoa(num);
}

} // namespace util
} // namespace mbgl