# Number to words fr

`number-to-words-fr` · version 1.0.0 · Numbers & math · free, no key needed

Spell a bounded integer in canonical French cardinal words and return the styled text.

**Use when you need to: number to words french · spell a number in French · convert integer to French words.**

## Decide before calling

Read the [versioned contract](/v1/tools/number-to-words-fr/versions/1.0.0) and the supported scope below. Reuse `number-to-words-fr@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-fr@1.0.0` for number to words french. 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 french
- spell a number in French
- convert integer to French words
- French cardinal number writer
- write digits in French letters
- nombre entier en lettres
- French number spelling with regional tens

## Not supported

- parse French words into digits
- spell decimal fractions
- write ordinal numbers

## Behavior

- Traditional spelling hyphenates only compounds below one hundred; rectified-1990 hyphenates all number-word components.
- Options default to spelling="traditional" and region="france"; Belgium selects septante/nonante and Switzerland selects septante/huitante/nonante.
- Applies French agreement for vingt and cent, keeps mille invariable, and pluralizes million and milliard as nouns.

## Input

- `value` (string, required): min length 1; max length 16
- `spelling` (one of "traditional", "rectified-1990", optional): default `"traditional"`
- `region` (one of "france", "belgium", "switzerland", optional): default `"france"`

## Output

- `text` (string, required): min length 1; max length 520
- `standard_version` (constant "academie-francaise-rectifications-1990-number-words-1.0.0", required)

## Limits

- max input bytes: 16
- max integer digits: 15
- max output bytes: 520
- max input fields: 3
- max group iterations: 5

## Example

Request input:

```json
{
  "value": "81"
}
```

Response:

```json
{
  "result": {
    "text": "quatre-vingt-un",
    "standard_version": "academie-francaise-rectifications-1990-number-words-1.0.0"
  }
}
```

## How to call it

### MCP

Connect `https://computefirst.net/mcp` ([setup](/docs#connect)), then call `execute` with:

```json
{
  "id": "number-to-words-fr",
  "version": "1.0.0",
  "input": {
    "value": "81"
  }
}
```

### HTTP (no key)

```sh
curl -X POST https://computefirst.net/v1/tools/number-to-words-fr/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"value":"81"}'
```

The machine-readable contract is at [/v1/tools/number-to-words-fr/versions/1.0.0](/v1/tools/number-to-words-fr/versions/1.0.0).

### CLI

```sh
node cli.mjs run number-to-words-fr 1.0.0 --input input.json --base-url https://computefirst.net
```

Get the client at [/clients/cli/](/clients/cli/).

## Related tools

- [Number to words en](/tools/number-to-words-en): Spell an integer or exact decimal in English words and return the styled text.
- [Ordinal to words en](/tools/ordinal-to-words-en): Spell an integer ordinal in English words and return the styled ordinal text.
- [Number engineering format](/tools/number-engineering-format): Format an exact decimal in scientific or engineering notation with explicit precision and rounding.
- [Roman numeral convert](/tools/roman-numeral-convert): Convert integers 1–3999 to canonical Roman numerals and strictly parse canonical numerals back to integers.
- [Integer digit sum](/tools/integer-digit-sum): Sum the base-b digits of the magnitude of an integer string.
- [Integer expression evaluate](/tools/integer-expression-evaluate): Evaluate exact integer arithmetic and return decimal, hexadecimal, and binary results.
