to_real() 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

to_real(string)

Arguments

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

Example

to_real('123.45') → 123.45