# int ## Function Convert the value to an integer. ## Syntax ```bt int(value) ``` ## Parameters | Parameters | Type | Required | Default value | Description | | ------ | ------ | ------ | ------ | ------ | | value | Any | No | None | The value to convert. | ## Return value | Type | Description | | ------ | ------ | | Int | Returns an i64 integer value. | ## Example ```bt result = int('42') // Output: 42 print result ``` ## Notes - Floating point values are converted according to BT relaxed integer rules.