diff options
Diffstat (limited to 'zen/format_unit.h')
-rw-r--r-- | zen/format_unit.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/zen/format_unit.h b/zen/format_unit.h index 86477999..e3e2d107 100644 --- a/zen/format_unit.h +++ b/zen/format_unit.h @@ -16,19 +16,12 @@ namespace zen std::wstring filesizeToShortString(Int64 filesize); std::wstring remainingTimeToString(double timeInSec); std::wstring fractionToString(double fraction); //within [0, 1] - -template <class NumberType> -std::wstring toGuiString(NumberType number); //format integer number including thousands separator - std::wstring utcToLocalTimeString(Int64 utcTime); //like Windows Explorer would... +std::wstring formatThreeDigitPrecision(double value); //= *at least* three digits - - - - - - +template <class NumberType> +std::wstring toGuiString(NumberType number); //format integer number including thousands separator |