Argument | Required/ Optional | Description |
---|---|---|
value | Required | String or numeric datatype. Passes the value you want to convert to a bigint value. You can enter any valid transformation expression. |
flag | Optional | Specifies whether to truncate or round the decimal portion. The flag must be an integer literal or the constants TRUE or FALSE. TO_BIGINT truncates the decimal portion when the flag is TRUE or a number other than 0. TO_BIGINT rounds the value to the nearest integer if the flag is FALSE or 0 or if you omit this argument. The flag is not set by default. |
IN_TAX | RETURN VALUE |
---|---|
'7245176201123435.6789' | 7245176201123435 |
'7245176201123435.2' | 7245176201123435 |
'7245176201123435.2.48' | 7245176201123435 |
NULL | NULL |
'A12.3Grove' | 0 |
' 176201123435.87' | 176201123435 |
'-7245176201123435.2' | -7245176201123435 |
'-7245176201123435.23' | -7245176201123435 |
-9223372036854775806.9 | -9223372036854775806 |
9223372036854775806.9 | 9223372036854775806 |
IN_TAX | RETURN VALUE |
---|---|
'7245176201123435.6789' | 7245176201123436 |
'7245176201123435.2' | 7245176201123435 |
'7245176201123435.348' | 7245176201123435 |
NULL | NULL |
'A12.3Grove' | 0 |
' 176201123435.87' | 176201123436 |
'-7245176201123435.6789' | -7245176201123436 |
'-7245176201123435.23' | -7245176201123435 |
-9223372036854775806.9 | -9223372036854775807 |
9223372036854775806.9 | 9223372036854775807 |