# Class NumberFormat

java.lang.Object
com.codename1.charts.util.NumberFormat

public class NumberFormat extends java.lang.Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NumberFormat()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `format(double label)`
  `static NumberFormat`
  `getNumberInstance()`
  `double`
  `parseDouble(String format)`
  `void`
  `setMaximumFractionDigits(int i)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NumberFormat

    public NumberFormat()

- ## Method Details

  - ### getNumberInstance

    public static NumberFormat getNumberInstance()

  - ### format

    public String format(double label)

  - ### setMaximumFractionDigits

    public void setMaximumFractionDigits(int i)

  - ### parseDouble

    public double parseDouble(String format) throws ParseException
    Throws:
      `ParseException`