Initialize Method



 
The Initialize method initializes the CurrencyFormatter.


Syntax

    CurrencyFormatter.Initialize(CurrencySymbol, CurDigits, SymPlacement)
    
Parameters
    CurrencySymbol String that contains the currency symbol.
    CurDigits Long value that contains the number of digits after the comma.
    SymPlacement Long 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 top