SiteKiosk Documentation
One Step Back

Initialize Method




The Initialize method initializes the CurrencyFormatter.


Syntax

    CurrencyFormatter.Initialize(CurrencySymbol, CurDigits, SymPlacement)
    
Parameters
    CurrencySymbolString that contains the currency symbol.
    CurDigitsLong value that contains the number of digits after the comma.
    SymPlacementLong value that contains the symbol placement position.
Return Value
    None.
Remarks
    None.
Examples
    The following example creates and initializes a CurrencyFormatter.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mycfm = SiteKiosk.Plugins("SiteCash").CreateCurrencyFormatter();
    mycfm.Initialize("E", 2, 3);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -