diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/documen4.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index 6bb280b20d91..1cdc777fcd91 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -692,6 +692,12 @@ double ScDocument::RoundValueAsShown( double fVal, sal_uInt32 nFormat ) const { return pFormat->GetRoundFractionValue( fVal ); } + case css::util::NumberFormat::NUMBER: + case css::util::NumberFormat::CURRENCY: + { // tdf#106253 Thousands dividors for format "0," + nPrecision -= pFormat->GetThousandDivisorPrecision( nIdx ); + break; + } } } else |