Textual Amount
Convert numbers to words in multiple languages and formats.
Currently only English, Latvian and Russian languages are supported.
twelve million three hundred and forty-five thousand six hundred and seventy-eight euros, 90 cents
API Documentation
https://api.prompt.lv/api/v1/info/numbers/textual/{number}/{format?}
Convert numeric amount to textual representation.
Method: GETResponse Format: JSONHeaders: Accept-Language
eur | Euro currency format |
usd | US Dollar currency format |
none | Basic textual representation without currency |
raw | Raw amount without cents/subunits processing |
GET https://api.prompt.lv/api/v1/info/numbers/textual/12345678.90/eur
Accept-Language: en{
"success": true,
"code": 200,
"result": {
"text": "twelve million three hundred and forty-five thousand six hundred and seventy-eight euros, 90 cents"
}
}200 | Successful operation |
404 | Unsupported locale |
422 | Validation error |