mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 18:33:50 +01:00
447 B
447 B
title | layout | version |
---|---|---|
into decimal | command | 0.59.1 |
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
> [[num]; ['5.01']] | into decimal num
Convert string to integer
> '1.345' | into decimal
Convert decimal to integer
> '-5.9' | into decimal