# toFloat

## Description

Converts a passed value to a float type.

## Input / Parameter

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

## Output

| Description                          | Output Type |
| ------------------------------------ | ----------- |
| Returns the passed value as a float. | Number      |

## Callback

N/A

## Video

Coming Soon.

## Example

User want to convert a value to float type.

### Step

1. Call the function.\
   value : 12.2222

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

### Result

12.2222(toFloat function parses a string and returns a floating point number.)

## Links
