---
title: into float
categories: |
conversions
version: 0.104.0
conversions: |
Convert data into floating point number.
usage: |
Convert data into floating point number.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `into float` for [conversions](/commands/categories/conversions.md)
<div class='command-title'>Convert data into floating point number.</div>
## Signature
```> into float {flags} ...rest```
## Parameters
- `...rest`: For a data structure input, convert data at the given cell paths.
## Input/output types:
| input | output |
| --------- | ----------- |
| bool | float |
| float | float |
| int | float |
| list\<any\> | list\<float\> |
| record | record |
| string | float |
| table | table |
## Examples
Convert string to float in table
```nu
> [[num]; ['5.01']] | into float num
╭───┬──────╮
│ # │ num │
├───┼──────┤
│ 0 │ 5.01 │
╰───┴──────╯
```
Convert string to floating point number
```nu
> '1.345' | into float
1.345
```
Coerce list of ints and floats to float
```nu
> [4 -5.9] | into float
╭───┬───────╮
│ 0 │ 4.00 │
│ 1 │ -5.90 │
╰───┴───────╯
```
Convert boolean to float
```nu
> true | into float
1
```