org.das2.datum.format.NumberFormatUtil

Note this is a copy of org.das2.util.NumberFormatUtil so that this can be an independent package.

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:

the format

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

getDecimalFormat( String spec ) → java.text.DecimalFormat