extend QuantityFormat to set denominator independent of user settings
This commit is contained in:
@@ -52,6 +52,7 @@ QuantityFormat::QuantityFormat()
|
||||
: option(static_cast<NumberOption>(OmitGroupSeparator | RejectGroupSeparator))
|
||||
, format(Fixed)
|
||||
, precision(UnitsApi::getDecimals())
|
||||
, denominator(defaultDenominator)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user