TO_BIGINT
Convert any numeric value to a 64-bit signed integer. This will truncate any existing fractional part.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
value | numeric | The numeric value to convert |
Returns
Returns a bigint
value.
Examples
value | Output |
---|---|
3 | 3 |
3.5 | 3 |
-3.5 | -3 |
3 | 3 |
Transformation job example
SQL
Query result
value | Output |
---|---|
3 | 3 |
Last updated