Transforms list of numbers or a single number to its French words representation. Supports Belgium French language.
- 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.
- Supports only positive whole numbers up to 1_000_000_000_000 (one trillion)
This project is licensed under the MIT License.