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'

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.32latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.32
1.0.24
1.0.10
1.0.00

Package Sidebar

Install

npm i number-to-letter-ts

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

26.7 kB

Total Files

9

Last publish

Collaborators

  • asaje379