NumberFormat

Class of android.icu.text · NumberFormat.java · Android's reference

public abstract class NumberFormat

Number formats, on java.text.

Extended in the framework by

Methods

public static NumberFormat getInstance(java.util.Locale locale) source
public static NumberFormat getInstance() source
public abstract String format(double number) source
public abstract String format(long number) source
public abstract Number parse(String text) throws java.text.ParseException source
public abstract void setMaximumFractionDigits(int newValue) source
public abstract void setMinimumFractionDigits(int newValue) source
public abstract void setGroupingUsed(boolean newValue) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.