into filesize for conversions

Convert value to filesize.

Signature

> into filesize ...rest

Parameters

  • ...rest: for a data structure input, convert data at the given cell paths

Examples

Convert string to filesize in table

> [[bytes]; ['5'] [3.2] [4] [2kb]] | into filesize bytes

Convert string to filesize

> '2' | into filesize
2 B

Convert decimal to filesize

> 8.3 | into filesize
8 B

Convert int to filesize

> 5 | into filesize
5 B

Convert file size to filesize

> 4KB | into filesize
3.9 KiB