SHARE
TWEET

English Number to Bangla

iftekharul Sep 11th, 2015 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // English Number to Bangla
  2. function eng_to_ban($number) {
  3.         $number= str_replace("0", "০", $number);
  4.         $number= str_replace("1", "১", $number);
  5.         $number= str_replace("2", "২", $number);
  6.         $number= str_replace("3", "৩", $number);
  7.         $number= str_replace("4", "৪", $number);
  8.         $number= str_replace("5", "৫", $number);
  9.         $number= str_replace("6", "৬", $number);
  10.         $number= str_replace("7", "৭", $number);
  11.         $number= str_replace("8", "৮", $number);
  12.         $number= str_replace("9", "৯", $number);
  13.         return $number;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top