Converts any numerals to western arabic numerals. This tool used to support any numeral input at the PHP backend
Converts any numerals to western arabic numerals. This tool used to support any numeral input at the PHP backend, (*1)
, (*2)
The PHP any numerals converted to Western Arabic numerals., (*3)
Run this command to add this library to your composer.json file:, (*4)
composer.json
composer require pixxet/numerals-translator
use Pixxet\NumeralsTranslator;
$arabic = NumeralsTranslator::TranslateNumerals('١٢٣٤'); echo $arabic; \\ 1234
Sources Download
MIT
helper converter