format_bytes
Convert byte values into human-readable formats using binary (1024-based) or decimal (1000-based) systems with customizable precision.
Instructions
Format bytes to human-readable format (binary or decimal)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Number of bytes to format | |
| format | No | Format type: binary (1024-based) or decimal (1000-based) (default: binary) | |
| precision | No | Number of decimal places (0-10, default: 2) |