Lines Matching refs:nNum
282 static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth, in myftoa() argument
299 if( nNum > 0.0 ) in myftoa()
301 while( nNum < 1.0 ) nNum *= 10.0, nExp--; in myftoa()
302 while( nNum >= 10.0 ) nNum /= 10.0, nExp++; in myftoa()
310 if( (nNum += roundArray [( nDig > 16 ) ? 16 : nDig] ) >= 10.0 ) in myftoa()
312 nNum = 1.0; in myftoa()
343 digit = (int) nNum; in myftoa()
345 nNum =( nNum - digit ) * 10.0; in myftoa()
390 void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, sal_Bool bCoreString ) in ImpCvtNum() argument
400 if( nNum < 0.0 ) { in ImpCvtNum()
401 nNum = -nNum; in ImpCvtNum()
405 myftoa( nNum, p, nPrec,( nNum &&( nNum < 1E-1 || nNum >= dMaxNumWithoutExp ) ) ? 4:0, in ImpCvtNum()
489 static sal_uInt16 printfmtnum( double nNum, XubString& rRes, const XubString& rWFmt ) in printfmtnum() argument
554 if( nNum < 0.0 ) nNum = -nNum, bNeg = sal_True; in printfmtnum()
557 myftoa( nNum, p, nPrec, nExpDig, bPoint, sal_False ); in printfmtnum()