mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Omit group separators from localized numbers.
This commit is contained in:
parent
b6d0495a55
commit
9994e0f97f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue