ToNumber
Note: this function uses the language setting of a portal when converting text.
Returns the number converted from text or a unit from date.
Returns Invalid expression when text is not a number, or when reference is not a valid RowId, or when date is not a valid date value or unit is not a valid date unit.
Syntax
Parameters
text
text
☑️
a text containing a number.
reference
reference
☑️
reference field, holding a rowid of a list.
date
date
☑️
a date.
duration
duration
☑️
a duration value. supported from runtime v5 invalid expression in older runtimes.
duration_unit
duration-unit
☑️
Duration units:
day - results in the total number of days
hour - results in the total number of hours
minute - results in the total number of minutes
second - results in the total number of seconds
millisecond - results in the total number of milliseconds
Last updated
Was this helpful?