litesoft
Diff Revisions
49
vs
151
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/nonpublic/DecimalToStringParts.java
|
@@ -122,12 +122,11 @@ |
122 |
122 |
|
{ |
123 |
123 |
|
if ( !pSilentlyTruncate ) |
124 |
124 |
|
{ |
125 |
|
- |
for ( ; i > zDPdesired; i-- ) |
|
125 |
+ |
for (; i > zDPdesired; i-- ) |
126 |
126 |
|
{ |
127 |
127 |
|
if ( mFractionPart.charAt( i - 1 ) != '0' ) |
128 |
128 |
|
{ |
129 |
|
- |
throw new IllegalArgumentException( "Unable to reduce decimal places to " + |
130 |
|
- |
zDPdesired + " places, precision lost" ); |
|
129 |
+ |
throw new IllegalArgumentException( "Unable to reduce decimal places to " + zDPdesired + " places, precision lost" ); |
131 |
130 |
|
} |
132 |
131 |
|
} |
133 |
132 |
|
} |
|
@@ -225,7 +224,6 @@ |
225 |
224 |
|
} |
226 |
225 |
|
zWhyPlus = "a '" + zOther + "'"; |
227 |
226 |
|
} |
228 |
|
- |
throw new IllegalArgumentException( "Unable to parse \"" + pOrig + "\", it " + pWhy + " with '" + |
229 |
|
- |
pChar + "' and contained " + zWhyPlus ); |
|
227 |
+ |
throw new IllegalArgumentException( "Unable to parse \"" + pOrig + "\", it " + pWhy + " with '" + pChar + "' and contained " + zWhyPlus ); |
230 |
228 |
|
} |
231 |
229 |
|
} |