Lines Matching refs:nPrec
282 static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth, in myftoa() argument
287 short nDig = nPrec + 1; // Anzahl Digits in Zahl in myftoa()
306 else if( bFix && !nPrec ) in myftoa()
324 if( nPrec ) *pBuf++ = (char)cDecimalSep; in myftoa()
326 if( nDig <= 0 ) i = nPrec; in myftoa()
390 void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, sal_Bool bCoreString ) in ImpCvtNum() argument
404 double dMaxNumWithoutExp = (nPrec == 6) ? 1E6 : 1E14; in ImpCvtNum()
405 myftoa( nNum, p, nPrec,( nNum &&( nNum < 1E-1 || nNum >= dMaxNumWithoutExp ) ) ? 4:0, in ImpCvtNum()
410 while( nPrec && *p == '0' ) nPrec--, p--; in ImpCvtNum()
495 short nPrec = 0; // Anzahl Nachkommastellen in printfmtnum() local
542 while( *++pFmt == '#' ) nPrec++; in printfmtnum()
543 nWidth += nPrec + 1; in printfmtnum()
553 if( nPrec > 15 ) nPrec = 15; in printfmtnum()
557 myftoa( nNum, p, nPrec, nExpDig, bPoint, sal_False ); in printfmtnum()