diff options
Diffstat (limited to '')
-rw-r--r-- | src/number.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/number.cpp b/src/number.cpp index 1b0efdc..0b8e07b 100644 --- a/src/number.cpp +++ b/src/number.cpp | |||
@@ -541,7 +541,7 @@ Bu::String Number::toString() const | |||
541 | { | 541 | { |
542 | int iSigDig = iScale-1; | 542 | int iSigDig = iScale-1; |
543 | for( ; iSigDig >= 0 && aFrac.get( iSigDig ) == 0; iSigDig-- ) { } | 543 | for( ; iSigDig >= 0 && aFrac.get( iSigDig ) == 0; iSigDig-- ) { } |
544 | if( aInt.getSize() == 0 && iSigDig <= 0 ) | 544 | if( aInt.getSize() == 0 && iSigDig < 0 ) |
545 | return "0"; | 545 | return "0"; |
546 | Bu::String sRet; | 546 | Bu::String sRet; |
547 | if( !bPositive ) | 547 | if( !bPositive ) |