Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4370406

Invalid output for currency number format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.3.0
    • core-libs
    • x86
    • solaris_8



      Name: rmT116609 Date: 09/12/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-RC)
      Java HotSpot(TM) Client VM (build 1.3.0-RC, mixed mode)

      import java.text.*;

      public class test {
          public static void main(String[] args) {
      double tmp = 333333333333.33;
      System.out.println(NumberFormat.getCurrencyInstance().format(tmp));
          }
      }

      Prints ?333,333,333,333.33 instead of $333,333,333,333.33
      (Review ID: 109143)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: