JDK-4139452 : Using Symantec JIT: NumberFormat, DecimalFormat display leading zeros.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 1.1.6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1998-05-18
  • Updated: 1998-05-26
  • Resolved: 1998-05-26
Related Reports
Duplicate :  
Description

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)
======================================================================