todecimal( value )
Converts a value to Decimal (double precision floating point).
Keyword | Type | Description |
---|---|---|
|
Any Type |
Value to convert. |
Decimal
When operating on arrays, it is not necessary to use apply
with todecimal
. If multiple parameters are passed, or one parameter is an Array, todecimal
will return a Decimal Array.
todecimal("3.6")
returns 3.6
todecimal("3.6", "4.2")
and todecimal({"3.6", "4.2"})
both return {3.6,4.2}
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
todecimal() Function