True engineering number formatting

This commit is contained in:
serso
2016-04-03 00:46:58 +02:00
parent f5a9f30e04
commit d9e9380a6d
4 changed files with 299 additions and 114 deletions

View File

@@ -6599,7 +6599,7 @@ public final class Real {
width -= prefix;
ftoaExp.setLength(0);
if (useExp) {
ftoaExp.append('e');
ftoaExp.append('E');
ftoaExp.append(tmp4.exponent - pointPos);
width -= ftoaExp.length();
}