Category:

Miscellaneous

Converts a value to number.

Syntax

to_number(
  x <AnyType>
): Numeric

Parameters

x is initial value. Must be convertible to number. For example, a string '345' can be converted, but a string 'c:\My Files' cannot.

Return value

Type: Numeric. Returns the converted value.

Examples of using

to_number(dataset_field_val(1, 'PageNo'))
to_number('11.58')