summaryrefslogtreecommitdiff
path: root/zen/format_unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/format_unit.h')
-rw-r--r--zen/format_unit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/format_unit.h b/zen/format_unit.h
index d50baa32..eacb8d46 100644
--- a/zen/format_unit.h
+++ b/zen/format_unit.h
@@ -19,7 +19,8 @@ std::wstring remainingTimeToString(double timeInSec);
std::wstring fractionToString(double fraction); //within [0, 1]
std::wstring utcToLocalTimeString(std::int64_t utcTime); //like Windows Explorer would...
-std::wstring formatThreeDigitPrecision(double value); //= *at least* three digits
+std::wstring formatTwoDigitPrecision (double value); //format with fixed number of digits
+std::wstring formatThreeDigitPrecision(double value); //(unless value is too large)
template <class NumberType>
std::wstring toGuiString(NumberType number); //format integer number including thousands separator
bgstack15