mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Ref T424, PQ strings without (thousand) separators
* separator can cause issue when sending data (WebService, FSD) * re-parsing (print and parse again) can cause to undesired results as the separator is mistaken as decimal separator with a different locale * separator now a parameter so it can still be used
This commit is contained in:
@@ -200,7 +200,7 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
//! \copydoc CMeasurementUnit::makeRoundedQStringWithUnit
|
||||
virtual QString makeRoundedQStringWithUnit(double value, int digits = -1, bool i18n = false) const override;
|
||||
virtual QString makeRoundedQStringWithUnit(double value, int digits = -1, bool withGroupSeparator = false, bool i18n = false) const override;
|
||||
|
||||
//! Radians
|
||||
static const CAngleUnit &rad()
|
||||
@@ -820,7 +820,7 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
//! \copydoc CMeasurementUnit::makeRoundedQStringWithUnit
|
||||
virtual QString makeRoundedQStringWithUnit(double value, int digits = -1, bool i18n = false) const override;
|
||||
virtual QString makeRoundedQStringWithUnit(double value, int digits = -1, bool withGroupSeparator = false, bool i18n = false) const override;
|
||||
|
||||
//! Second s
|
||||
static const CTimeUnit &s()
|
||||
|
||||
Reference in New Issue
Block a user