@intocare/number-to-text
v0.1.1
Published
Extra number-to-text implementations
Downloads
136
Readme
@intocare/number-to-text
Extra number-to-text translations
Supported languages:
nl-be
fr-be
Install
npm install --save @intocare/number-to-text
Usage
You can either load specific languages
const numberToText = require('number-to-text');
require('@intocare/number-to-text/nl-be');
numberToText.convertToText(10173, {language: 'nl-be'});
//=> tienduizend honderddrieënzeventig
Or you can load all languages
const numberToText = require('number-to-text');
require('@intocare/number-to-text');
numberToText.convertToText(10173, {language: 'nl-be'});
//=> tienduizend honderddrieënzeventig
numberToText.convertToText(10173, {language: 'fr-be'});
//=> dix mille cent septante-trois
Related
- number-to-text - Check TypeScript type definitions