SiteKiosk Documentation
One Step Back

FormatPrice Method




The FormatPrice method adds the name of the current currency.


Syntax

    [str=] SiteKiosk.Plugins("SiteCash").ZoneDispatch.FormatPrice(currency)
    
Parameters
    currencyCurrency value to format.
Return Value
    Returns a String containing the formatted value including currency information.
Remarks Examples
    The following example shows the value 5 as formatted currency in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").ZoneDispatch.FormatPrice(5));
    </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 -