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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/format_unit.h b/zen/format_unit.h
index 4a839855..72a5e91b 100644
--- a/zen/format_unit.h
+++ b/zen/format_unit.h
@@ -17,7 +17,7 @@ namespace zen
const int bytesPerKilo = 1000;
std::wstring formatFilesizeShort(int64_t filesize);
std::wstring formatRemainingTime(double timeInSec);
-std::wstring formatFraction(double fraction); //within [0, 1]
+std::wstring formatPercent0(double fraction /*within [0, 1]*/); //zero decimal places
std::wstring formatUtcToLocalTime(time_t utcTime); //like Windows Explorer would...
std::wstring formatTwoDigitPrecision (double value); //format with fixed number of digits
bgstack15