Interprets the given string as a float value.

Syntax

Smartsite SXML CopyCode image Copy Code
float convert.tofloat(any s)
float convert.tofloat(any s, integer lcid)

Parameters

Name Data Type Description
s Any The input string.
lcid Integer The culture id of the input string

Return Value

Data Type Description
Float Input string converted to a float.

Expand image Example

SXML