From 88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:20:07 +0200 Subject: 5.4 --- wx+/format_unit.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'wx+/format_unit.h') diff --git a/wx+/format_unit.h b/wx+/format_unit.h index 71501db7..361e7d86 100644 --- a/wx+/format_unit.h +++ b/wx+/format_unit.h @@ -18,7 +18,7 @@ std::wstring remainingTimeToShortString(double timeInSec); std::wstring fractionToShortString(double fraction); //within [0, 1] template -std::wstring toStringSep(NumberType number); //convert number to std::wstring including thousands separator +std::wstring toGuiString(NumberType number); //format integer number including thousands separator std::wstring utcToLocalTimeString(Int64 utcTime); //throw std::runtime_error @@ -35,12 +35,6 @@ std::wstring utcToLocalTimeString(Int64 utcTime); //throw std::runtime_error - - - - - - @@ -55,8 +49,9 @@ std::wstring includeNumberSeparator(const std::wstring& number); } template inline -std::wstring toStringSep(NumberType number) +std::wstring toGuiString(NumberType number) { + //assert_static(IsInteger::value); -> doesn't work for UInt64 return ffs_Impl::includeNumberSeparator(zen::numberTo(number)); } } -- cgit