diff options
-rw-r--r-- | sal/rtl/math.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index e621c4807a92..f193eedd6aff 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -228,7 +228,7 @@ inline void doubleToString(StringT ** pResult, // Round before decimal position. if (nDecPlaces < 0) { - sal_Int64 nRounding = static_cast<sal_Int64>( pow( 10.0, static_cast<double>( -nDecPlaces - 1))); + sal_Int64 nRounding = static_cast<sal_Int64>( getN10Exp( -nDecPlaces - 1)); sal_Int64 nTemp = nInt / nRounding; int nDigit = nTemp % 10; nTemp /= 10; |