| java.lang.Object org.pnuts.lib.NumberFormatHelper
NumberFormatHelper | class NumberFormatHelper (Code) | | |
Method Summary | |
static String | doFormat(NumberFormat fmt, Number num, int min, int max, int fmin, int fmax) | public static String | formatCurrency(Number num, int min, int max, int fmin, int fmax, Context context) | public static String | formatDecimal(Number num, String fmt) | public static String | formatNumber(Number num, int min, int max, int fmin, int fmax, Context context) | public static String | formatPercent(Number num, int min, int max, int fmin, int fmax, Context context) | static Locale | getFormatLocale(Context context) | static void | setScale(NumberFormat fmt, int imin, int imax, int fmin, int fmax) |
formatCurrency | public static String formatCurrency(Number num, int min, int max, int fmin, int fmax, Context context)(Code) | | |
formatDecimal | public static String formatDecimal(Number num, String fmt)(Code) | | |
formatNumber | public static String formatNumber(Number num, int min, int max, int fmin, int fmax, Context context)(Code) | | |
formatPercent | public static String formatPercent(Number num, int min, int max, int fmin, int fmax, Context context)(Code) | | |
getFormatLocale | static Locale getFormatLocale(Context context)(Code) | | |
setScale | static void setScale(NumberFormat fmt, int imin, int imax, int fmin, int fmax)(Code) | | |
|
|