count_kb_file
Calculate a file's size in kilobytes by dividing bytes by 1024 and rounding up, matching Windows Explorer. Provide an absolute file path to get the result.
Instructions
File size in KB as ceil(bytes / 1024), matching Windows Explorer.
Args:
file_path: Absolute path to the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |