Omit group separators from localized numbers.

This commit is contained in:
leo 2016-06-14 00:18:24 +00:00
parent b6d0495a55
commit 9994e0f97f

View file

@ -24,6 +24,7 @@ QString lcFormatValue(float Value)
QString lcFormatValueLocalized(float Value)
{
QLocale Locale = QLocale::system();
Locale.setNumberOptions(QLocale::OmitGroupSeparator);
QChar DecimalPoint = Locale.decimalPoint();
QString String = Locale.toString(Value, 'f', 6);