toreal function

Converts a string to real number. Nothing changed if a value cannot be converted to real (e.g '123.56asd' is invalid). Numbers are rounded after saving changes if the precision is smaller than the result of the conversion.

Syntax

toreal(string)

Arguments

string → is string. The String to convert to real number.

Example

toreal('123.45') → 123.45