/ChangeNumbersJs

Tiny Library for change number from a language in other language.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

ChangeNumbers

Tiny Library for change number from a language in other language.

ChangeNumbers.min.js File Size ChangeNumbers.min.js Validation Code

Features

  • Easy
  • Compact
  • No dependencies

Supported languages

  • Persian/Farsi (fa)
  • Arabic (ar)
  • English (en)

Arguments

Argument Name Goal Value(s)
data-number-target Set the target language fa - en - ar
data-number-from (Optional) Set the source language ( default : auto ) auto(all) - fa - en - ar

Samples

To view the full details, run the Example.html file.

Numbers characters

Persian/Farsi :
  • ۰
  • ۱
  • ۲
  • ۳
  • ۴
  • ۵
  • ۶
  • ۷
  • ۸
  • ۹
Arabic :
  • ٠
  • ١
  • ٢
  • ٣
  • ٤
  • ٥
  • ٦
  • ٧
  • ٨
  • ٩
English :
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

License

ChangeNumbers is licensed under the GNU General Public License.