# toInteger

## Description

Converts a passed value to an integer type.

## Input / Parameter

| Name  | Description                         | Input Type | Default | Options | Required |
| ----- | ----------------------------------- | ---------- | ------- | ------- | -------- |
| value | The value to convert to an integer. | Any        | -       | -       | Yes      |

## Output

| Description                             | Output Type |
| --------------------------------------- | ----------- |
| Returns the passed value as an integer. | Number      |

## Callback

N/A

## Video

Coming Soon.

## Example

The user wants to convert a value to integer.

### Step

1. Call the function.\
   value : 122.2222

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-a000b873366151abc20057aaff1c5f11e4fa44f3%2FtoInteger-step-1.png?alt=media)

### Result

122

## Links
