todecimal() Function

Converts a value to Decimal (double precision floating point).

Syntax

todecimal( value, … )

value: (Any Type) Value to convert.

Returns

Decimal

Notes

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.

Examples

todecimal("3.6") returns 3.6

todecimal("3.6", "4.2") and todecimal({"3.6", "4.2"}) both return {3.6,4.2}

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK