J
Jim Cobban
Since there appears to be no possibility that Sun will agree to any changes
to the functionality of java.text.DecimalFormat despite its manifold
deficiencies, are there any common workarounds or alternatives?
Examples of deficiencies:
1) Output is variable in width whereas many applications require fixed width
columns.
2) Negative values are always displayed in a wider field than positive
values.
3) No support for explicitly identifying positive values, for example with a
+ sign.
4) No support for grouping fractional digits.
5) Basically no equivalent to formatting that has been available in
predecessor languages all the way back to FORTRAN and COBOL.
to the functionality of java.text.DecimalFormat despite its manifold
deficiencies, are there any common workarounds or alternatives?
Examples of deficiencies:
1) Output is variable in width whereas many applications require fixed width
columns.
2) Negative values are always displayed in a wider field than positive
values.
3) No support for explicitly identifying positive values, for example with a
+ sign.
4) No support for grouping fractional digits.
5) Basically no equivalent to formatting that has been available in
predecessor languages all the way back to FORTRAN and COBOL.