EgtGeneral 1.9l4 :

- fabs sostituito da abs.
This commit is contained in:
Dario Sassi
2018-12-27 11:17:04 +00:00
parent 7e995fffbc
commit f9951fb294
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ ToString( double dVal, int nPrec)
// converto la mantissa
char szBuff[24] ;
int nErr, nDecimal, nSign ;
if ( fabs( dVal) < BIG_NUMBER)
if ( abs( dVal) < BIG_NUMBER)
nErr = _fcvt_s( szBuff, dVal, nPrec, &nDecimal, &nSign) ;
else
nErr = _ecvt_s( szBuff, dVal, BIG_DIGITNBR + nPrec, &nDecimal, &nSign) ;