ParseString2 Method



 
The ParseString2 method transforms the usual currency notation into a double value.


Syntax

    [double=] CurrencyFormatter.ParseString(str)
    
Parameters
    str String to format.
Return Value
    Returns a Double value that contains the amount.
Remarks
    None.
Examples
    The following example formats and reformats a value.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mycfm = SiteKiosk.Plugins("SiteCash").CreateCurrencyFormatter();
    mystr = mycfm.Format2(10, 1);
    alert(mycfm.ParseString2(mystr));
    </SCRIPT>
    

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

Back to top