Using Symantec JIT: NumberFormat, DecimalFormat display leading zeros.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: core-libs
    • x86
    • windows_95



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

            Assignee:
            Alan Liu (Inactive)
            Reporter:
            Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: