number-to-letter-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

number-to-letter

yagoubigithub/convertir-nombre-chiffre typescript version for number to letter conversion in french

Install

npm

npm i number-to-letter-ts

yarn

yarn add number-to-letter-ts

Usage

import { NumberToLetter, FloatToLetter } from 'number-to-letter-ts';
console.log(NumberToLetter(12)); // print 'douze'
console.log(FloatToLetter(12)); // print 'douze'
console.log(FloatToLetter(12.1234)); // print 'douze virgule douze' : precision of 2 by default
console.log(FloatToLetter(12.125, 3)); // print 'douze virgule cent vingt-cinq'

Readme

Keywords

none

Package Sidebar

Install

npm i number-to-letter-ts

Weekly Downloads

19

Version

1.0.3

License

MIT

Unpacked Size

26.7 kB

Total Files

9

Last publish

Collaborators

  • asaje379