Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 287 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 287 Bytes

Usage

It's very simple. Pass in your Persian numbers to the function as a string and it will return the converted value in English numbers as number.

import ConvertNumbers from 'convert-persian-numbers'
const englishConvertedNumber = ConvertNumbers(persianNumber)