Number To Words
number_to_wordsSpell out numbers in words — cardinal, ordinal, currency amounts, cheque wording, years and Roman numerals — in English, Spanish, French, German, Italian, Portuguese (PT) and Brazilian Portuguese, with each language's real grammar (French "quatre-vingts" / "et un", Spanish "veintiún mil" / "un millón", German compounds, Italian elision, long and short scales). Integers up to 36 digits, decimals ("twelve point five"), negatives. Also converts Roman numerals back to numbers. For invoices, cheques, contracts, accessibility and voice output. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/number-to-words
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number": "<number>"
},
"name": "number_to_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| mode | No | cardinal | |
| style | No | English: uk = "one hundred and five" with commas; us = "one hundred five" | uk |
| number | Yes | Number (digits, optional sign / decimals; "1,234.50" ok), or a Roman numeral | |
| currency | No | ISO code: USD, EUR, GBP, CAD, AUD, INR, JPY, CNY, CHF, MXN, BRL | USD |
| capitalize | No |