## org.das2.util.NumberFormatUtil

provide convenient and consistent access to DecimalFormat objects.

## NumberFormatUtil( )

## getDecimalFormat

getDecimalFormat( ) → java.text.DecimalFormat

handles the localization problem (bug 0000294) by always returning a DecimalFormat for Locale.US. (Sorry, rest of world.)

### Returns:

DecimalFormat
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDecimalFormat

getDecimalFormat( String spec ) → java.text.DecimalFormat

handles the localization problem (bug 0000294) by always returning a DecimalFormat for Locale.US. (Sorry, rest of world.)

### Parameters

spec - specification for DecimalFormat, like 0.000E00

### Returns:

DecimalFormat
[search for examples] [view on GitHub] [view on old javadoc] [view source]