format_number
Format numbers as currency, percentages, or with thousands/decimal separators using locale-specific conventions to ensure consistent data presentation.
Instructions
Format numbers (currency, percentage, thousands separator, decimal)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Number to format | |
| format | Yes | Format type | |
| locale | No | Locale (default: en-US) | |
| currency | No | Currency code for currency format (default: USD) | |
| minimum_fraction_digits | No | Minimum fraction digits (0-20) | |
| maximum_fraction_digits | No | Maximum fraction digits (0-20) |