mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
840 B
840 B
into string
Convert value to string
Usage
> into string ...args {flags}
Parameters
- ...args: column paths to convert to string (for table input)
Flags
- -h, --help: Display this help message
- -d, --decimals : decimal digits to which to round
Examples
convert decimal to string and round to nearest integer
> echo 1.7 | into string -d 0
convert decimal to string
> echo 4.3 | into string
convert string to string
> echo '1234' | into string
convert boolean to string
> echo $true | into string
convert date to string
> date now | into string
convert filepath to string
> ls Cargo.toml | get name | into string
convert filesize to string
> ls Cargo.toml | get size | into string