Lines Matching refs:nDecimals
1394 sal_Int64 nNumber, sal_uInt16 nDecimals, sal_Bool bUseThousandSep, in ImplAddFormatNum() argument
1419 if ( nNumLen <= nDecimals ) in ImplAddFormatNum()
1440 while ( i < (nDecimals-nNumLen) ) in ImplAddFormatNum()
1462 sal_uInt16 nNumLen2 = nNumLen-nDecimals; in ImplAddFormatNum()
1479 if ( nDecimals ) in ImplAddFormatNum()
1497 pBuf -= nDecimals+1; in ImplAddFormatNum()
1697 inline size_t ImplGetNumberStringLengthGuess( const LocaleDataWrapper& rLoc, sal_uInt16 nDecimals ) in ImplGetNumberStringLengthGuess() argument
1702 size_t nGuess = ((nDecimals < nDig) ? in ImplGetNumberStringLengthGuess()
1703 (((nDig - nDecimals) * rLoc.getNumThousandSep().Len()) + nDig) : in ImplGetNumberStringLengthGuess()
1704 nDecimals) + rLoc.getNumDecimalSep().Len() + 3; in ImplGetNumberStringLengthGuess()
1709 String LocaleDataWrapper::getNum( sal_Int64 nNumber, sal_uInt16 nDecimals, in getNum() argument
1715 size_t nGuess = ImplGetNumberStringLengthGuess( *this, nDecimals ); in getNum()
1719 sal_Unicode* pBuf = ImplAddFormatNum( pBuffer, nNumber, nDecimals, in getNum()
1729 String LocaleDataWrapper::getCurr( sal_Int64 nNumber, sal_uInt16 nDecimals, in getCurr() argument
1738 size_t nGuess = ImplGetNumberStringLengthGuess( *this, nDecimals ); in getCurr()
1757 sal_Unicode* pEndNumBuf = ImplAddFormatNum( pNumBuffer, nNumber, nDecimals, in getCurr()
1762 if ( (cZeroChar != '0') && nDecimals /* && IsNumTrailingZeros() */ ) in getCurr()
1768 pTempBuf = pNumBuffer+nNumLen-nDecimals; in getCurr()
1781 while ( i < nDecimals ); in getCurr()
1785 pTempBuf = pNumBuffer+nNumLen-nDecimals; in getCurr()
1793 while ( i < nDecimals ); in getCurr()