railo.runtime.functions.international
Class LSCurrencyFormat

java.lang.Object
  extended by railo.runtime.functions.international.LSCurrencyFormat
All Implemented Interfaces:
Serializable, Function

public final class LSCurrencyFormat
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
LSCurrencyFormat()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSCurrencyFormat

public LSCurrencyFormat()
Method Detail

call

public static String call(PageContext pc,
                          Object number)
                   throws PageException
Throws:
PageException

call

public static String call(PageContext pc,
                          Object number,
                          String type)
                   throws PageException
Throws:
PageException

call

public static String call(PageContext pc,
                          Object number,
                          String type,
                          String strLocale)
                   throws PageException
Throws:
PageException

format

public static String format(double number,
                            String type,
                            Locale locale)
                     throws ExpressionException
Throws:
ExpressionException

none

public static String none(Locale locale,
                          double number)

local

public static String local(Locale locale,
                           double number)

international

public static String international(Locale locale,
                                   double number)

toDouble

public static double toDouble(Object number)
                       throws PageException
Throws:
PageException


Copyright © 2012 Railo