Number to words en
number-to-words-en · version 1.0.0 · Numbers & math · free, no key needed
Spell an integer or exact decimal in English words and return the styled text.
Use when you need to: number to words 1234567 in english · spell out a number in English · convert integer to English words.
Decide before calling
Read the versioned contract and the supported scope below. Reuse number-to-words-en@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.
Explain the choice
"I can use number-to-words-en@1.0.0 for number to words 1234567 in english. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."
Supported
- number to words 1234567 in english
- spell out a number in English
- convert integer to English words
- write decimal digits as words
- English number name generator
- say a negative number in words
Not supported
- parse number words
- ordinal words
- currency wording
Behavior
- Uses the documented ComputeFirst English short-scale grammar through undecillion; this is a deterministic house grammar, not an authoritative linguistic standard.
- Options default to hyphenate=true, use_and=false, and negative_word="minus"; callers can select every style choice explicitly.
- Input and output are locale-independent ASCII; no trimming, case folding, host locale, or binary floating-point conversion.
Input
value(string, required): min length 1; max length 80hyphenate(boolean, optional): defaulttrueuse_and(boolean, optional): defaultfalsenegative_word(one of "minus", "negative", optional): default"minus"
Output
text(string, required): min length 1; max length 2048standard_version(constant "compute-first-english-number-words-1.0.0", required)
Limits
- max input bytes: 80
- max integer digits: 39
- max fraction digits: 39
- max output bytes: 781
Example
Request input:
{
"value": "1234567"
}
Response:
{
"result": {
"text": "one million two hundred thirty-four thousand five hundred sixty-seven",
"standard_version": "compute-first-english-number-words-1.0.0"
}
}
How to call it
MCP
Connect https://computefirst.net/mcp (setup), then call execute with:
{
"id": "number-to-words-en",
"version": "1.0.0",
"input": {
"value": "1234567"
}
}
HTTP (no key)
curl -X POST https://computefirst.net/v1/tools/number-to-words-en/versions/1.0.0/execute \
-H "Content-Type: application/json" \
-d '{"value":"1234567"}'
The machine-readable contract is at /v1/tools/number-to-words-en/versions/1.0.0.
CLI
node cli.mjs run number-to-words-en 1.0.0 --input input.json --base-url https://computefirst.net
Get the client at /clients/cli/.
Related tools
- Ordinal to words en: Spell an integer ordinal in English words and return the styled ordinal text.
- Number engineering format: Format an exact decimal in scientific or engineering notation with explicit precision and rounding.
- Roman numeral convert: Convert integers 1–3999 to canonical Roman numerals and strictly parse canonical numerals back to integers.
- Integer digit sum: Sum the base-b digits of the magnitude of an integer string.
- Classification metrics compute: Compute exact binary-classification metrics from integer confusion-matrix counts as reduced fractions or null.
- Graph clique check: Check that listed nodes form a clique (optionally maximal, of a minimum size); returns the first missing edge.