I have some numbers in English format and I want to convert them to Persian or Arabic format. For this purpose, I used the following function: