num2words - Man Page

Description

num2words: convert numbers into words.

Usage

num2words [options] <number> num2words --list-languages num2words --list-converters num2words --help

Arguments

<number>

Number you want to convert into words

Options

-L --list-languages

Show all languages.

-C --list-converters

Show all converters.

-l --lang=<lang>

Output language [default: en].

-t --to=<to>

Output converter [default: cardinal].

-h --help

Show this message.

-v --version

Show version.

Examples

$ num2words 10001

ten thousand and one

$ num2words 24,120.10

twenty-four thousand, one hundred and twenty point one

$ num2words 24,120.10 -l es

veinticuatro mil ciento veinte punto uno

$num2words 2.14 -l es --to currency dos euros con catorce céntimos

Info

July 2024 num2words 0.5.13