@abdelhameed_hs/number-to-textvalue-transformer
v1.0.3
Published
Package to transform numbers to a text value money based
Downloads
7
Maintainers
Readme
number-to-text-transformer
A service that translates numeric input into the equivalent Arabic word form.
Installation
Use the npm package manager to install number-to-text-transformer.
npm i @abdelhameed_hs/number-to-textvalue-transformer
Usage
import { ArabicNumberService } from '@abdelhameed_hs/number-to-textvalue-transformer';
const arabicNumber = arabicNumberService.convertNumberToArabic(1234);
console.log(arabicNumber); // Output: " فقط ألف ومائتان وثلاثة وثلاثون جنيه مصرى لا غير "