Name: clC74495 Date: 05/18/98
fmt = new DecimalFormat( ",##0.00000" );
// or any of the variations "#,###.00000"
setText( String.valueOf( fmt.format( double d ) );
Symantec JIT compiler produces 000,001.00000 with visible leading zeros.
The same situation with NumberFormat.setMaximumFraction( 5 );
(Review ID: 29938)
======================================================================
- duplicates
-
JDK-4134300 DecimalFormat bug added in 1.1.6
-
- Closed
-