diff options
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 0aed9791d3c9..aa7a2438dac8 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -3840,7 +3840,7 @@ bool SvNumberformat::ImpGetNumberOutput(double fNumber, nPrecExp = 0; if (rInfo.nCntPost) // NachkommaStellen { - if (rInfo.nCntPost + nPrecExp > 15 && nPrecExp < 15) + if ((rInfo.nCntPost + nPrecExp) > 15 && nPrecExp < 15) { sStr = ::rtl::math::doubleToUString( fNumber, rtl_math_StringFormat_F, 15-nPrecExp, '.'); |