mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 18:53:19 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
33
docs/commands/into_decimal.md
Normal file
33
docs/commands/into_decimal.md
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
title: into decimal
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
converts text into decimal
|
||||
|
||||
## Signature
|
||||
|
||||
```> into decimal ...rest```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `...rest`: optionally convert text into decimal by column paths
|
||||
|
||||
## Examples
|
||||
|
||||
Convert string to integer in table
|
||||
```shell
|
||||
> [[num]; ['5.01']] | into decimal num
|
||||
```
|
||||
|
||||
Convert string to integer
|
||||
```shell
|
||||
> '1.345' | into decimal
|
||||
```
|
||||
|
||||
Convert decimal to integer
|
||||
```shell
|
||||
> '-5.9' | into decimal
|
||||
```
|
||||
|
Reference in New Issue
Block a user