format_currency
Format monetary amounts according to locale-specific conventions for currency symbol placement and decimal/thousands separators, ensuring accurate presentation in user-facing outputs, invoices, or reports.
Instructions
Format a money amount the way a reader in a given locale expects (symbol position, decimal/thousands separators). USE THIS whenever you show a price/total to a user or put one in an email, invoice, or report. e.g. 1234.5 GBP en-GB -> '£1,234.50'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| currency | No | GBP | |
| locale | No |