function numentofa(n) { var digits = [], r; do { r = n % 10; n = (n - r) / 10; digits.unshift(String.fromCharCode(r + 1776)); } while (n > 0); return digits.join(''); } window.onload = aa(); function aa() { var oooook = numentofa("121"); $('.numbers').append(oooook); alert(oooook); }
function arabictonum(arabicnumstr) { var num=0, c; for(var i=0; i < arabicnumstr.length; i++) c = arabicnumstr.charCodeAt(i); num += c-1776; num *= 10; } return num/10; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)