| 27 | } |
| 28 | |
| 29 | String DimBase::formattedValue(const ValueType value) const |
| 30 | { |
| 31 | // hint: QLocale::c().toString adds group separators to better visualize large numbers (e.g. 23.009.646.54,3) |
| 32 | return String(this->getDimNameShort()) + ": " + QLocale::c().toString(value, 'f', valuePrecision()); |
| 33 | } |
| 34 | |
| 35 | String DimBase::formattedValue(const ValueType value, const String& prefix) const |
| 36 | { |
no test coverage detected