parseFloat (I18n - JavaScript)

Returns a float value dictated by interpretation of the string argument according to the given locale. For example, if the given locale is French, the string '10 000,3' will be interpreted as 10000.3, because the decimal separator in France is a comma and the thousand-separator is a white space. If the Locale parameter is missing or null, the string is interpreted according to the XSP server default locale.

Defined in

I18n

Syntax

parseFloat(src:string) : double

parseFloat(src:string, loc:locale) : double