Parse
This page was created by Lars.olofsson on 2020-11-25. Last edited by 62.169.16.147 on 2026-09-12.
Most value types - for example, Integer and Decimal - have a function "parse" to convert a string into a value.
Example[edit source]
Use as follows:
Decimal.parse('10')
Integer.parse('5')
Error Handling[edit source]
If the provided string isn't convertible to the type, the resulting value is NULL.
Decimal.parse('x').isNull
Returns true.
