Added options to toPersianNumber function to convert English numbers