into decimal
for conversions
Convert text into a decimal.
Signature
> into decimal ...rest
Parameters
...rest
: for a data structure input, convert data at the given cell paths
Examples
Convert string to decimal in table
> [[num]; ['5.01']] | into decimal num
╭───┬────────╮
│ # │ num │
├───┼────────┤
│ 0 │ 5.0100 │
╰───┴────────╯
Convert string to decimal
> '1.345' | into decimal
1.345
Convert decimal to decimal
> '-5.9' | into decimal
-5.9
Convert boolean to decimal
> true | into decimal
1