ParseString Method
The ParseString method transforms the usual currency notation into a long value.
Syntax
[currency=] CurrencyFormatter.ParseString(str)
|
Parameters
Return Value
Returns a Currency value that contains the amount.
Remarks
Examples
The following example formats and reformats a value.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
mycfm = SiteKiosk.Plugins("SiteCash").CreateCurrencyFormatter();
mystr = mycfm.Format(10, 1);
alert(mycfm.ParseString(mystr));
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top