--- title: "toBigDecimal (Conversion to large decimal integer)" slug: "calc-function-to-big-decimal" updated: 2026-05-12T13:47:26Z published: 2026-05-12T13:47:26Z canonical: "docs.lobstersoftware.com/calc-function-to-big-decimal" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # toBigDecimal (Conversion to large decimal integer) *See also:* [toLong (Conversion to large integer)](/v1/docs/en/calc-function-to-long), [toInteger (Conversion to large integer)](/v1/docs/en/calc-function-to-integer), [toNumber (Conversion to native number)](/v1/docs/en/calc-function-to-number), [toString (Convert to a string)](/v1/docs/en/calc-function-to-string) > [!NOTE] > Attempts to convert a given input value into a large decimal number of type "BigDecimal". > > > [!TIP] > > Tooltip > > > > Syntax: *$toBigDecimal(any)* > > > > | Parameter | Description | > > | --- | --- | > > | `any` | Any value (or object) which should be converted. | > > > > If the input value cannot be converted, nothing (zero) is returned. > > > > Example: $toBigDecimal(1234.5) → Returns an object of type "BigDecimal" which has the numeric value "1234.5". ## Syntax *$toBigDecimal(any)* ## Parameter | Name | Description | | --- | --- | | any | Any value (or object) which should be converted. | ## Return value If the input value cannot be converted, nothing (zero) is returned. ## Examples | Syntax | Result | | --- | --- | | $toBigDecimal(1234.5) | Returns an object of the "BigDecimal" type, which has the numeric value 1234.5. | | $toBigDecimal($input) | Attempts to convert the input value of the expression |