Skip to main content
Glama

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
NameRequiredDescriptionDefault
numberYesNumber to format
formatYesFormat type
localeNoLocale (default: en-US)
currencyNoCurrency code for currency format (default: USD)
minimum_fraction_digitsNoMinimum fraction digits (0-20)
maximum_fraction_digitsNoMaximum fraction digits (0-20)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Angry-Robot-Deals/mcp-sys8'

If you have feedback or need assistance with the MCP directory API, please join our Discord server