public final class LSCurrencyFormat extends Object implements Function
Constructor and Description |
---|
LSCurrencyFormat() |
Modifier and Type | Method and Description |
---|---|
static String |
call(PageContext pc,
Object number) |
static String |
call(PageContext pc,
Object number,
String type) |
static String |
call(PageContext pc,
Object number,
String type,
String strLocale) |
static String |
format(double number,
String type,
Locale locale) |
static String |
international(Locale locale,
double number) |
static String |
local(Locale locale,
double number) |
static String |
none(Locale locale,
double number) |
static double |
toDouble(Object number) |
public LSCurrencyFormat()
public static String call(PageContext pc, Object number) throws PageException
PageException
public static String call(PageContext pc, Object number, String type) throws PageException
PageException
public static String call(PageContext pc, Object number, String type, String strLocale) throws PageException
PageException
public static String format(double number, String type, Locale locale) throws ExpressionException
ExpressionException
public static String international(Locale locale, double number)
public static double toDouble(Object number) throws PageException
PageException
Copyright © 2015 Lucee