diff options
author | Ilya Zverev <zverik@textual.ru> | 2016-10-11 17:26:54 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2016-10-11 17:34:52 +0300 |
commit | 4d304fb4a45aa166bfcf196b0e7a6f0df313fbad (patch) | |
tree | d8543778c5869fbf95ba94fd979b2b73f9199fc1 /base | |
parent | c93d2394e38a3b5eda76a866f5579a5820704f90 (diff) |
[feature_list] Expand to_string_with_digits_after_comma
Diffstat (limited to 'base')
-rw-r--r-- | base/string_utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/string_utils.hpp b/base/string_utils.hpp index 179a5d560b..0d5a77754f 100644 --- a/base/string_utils.hpp +++ b/base/string_utils.hpp @@ -434,6 +434,7 @@ inline string to_string(uint64_t i) { return impl::to_string_unsigned(i); } /// Use this function to get string with fixed count of /// "Digits after comma". string to_string_dac(double d, int dac); +inline string to_string_with_digits_after_comma(double d, int dac) { return to_string_dac(d, dac); } //@} bool StartsWith(UniString const & s, UniString const & p); |