CurrencyFormatter Object
The CurrencyFormatter object contains the SiteCash currency environment.
Members Table
The following table lists the members provided by the CurrencyFormatter object.
Remarks
This object is returned by the SiteCash.CreateCurrencyFormatter or SiteCafe.CreateCurrencyFormatter method.
Use the CurrencyFormatter object to determine or change the way you want the currency information to be displayed.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
The following example shows the currency symbol in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
mycfm = SiteKiosk.Plugins("SiteCash").CreateCurrencyFormatter();
alert(mycfm.CurrencySymbol);
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top