kata-numbers-to-french
v0.0.1
Published
Trasform numbers to french words
Downloads
1
Readme
kata-numbers-to-french
Description
Transforms list of numbers or a single number to its French words representation. Supports Belgium French language.
How to use
- Import library
import kata from "kata-numbers-to-french"
- Supply number or an array of numbers into
kata.fr(42)
orkata.bg([420, 8910, 123])
- You can wrap function in
try-catch
to get catch the error.
Limitations
- Supports only positive whole numbers up to 1_000_000_000_000 (one trillion)
License
This project is licensed under the MIT License.