1Number.prototype.radix=function(i,I,l){if(!i)return this.valueOf();if(!l)l='0';return this.toString(i).padLeft(Math.abs(I),l);};Number.prototype.bin=function(i,I){return this.radix(0x02,(isUndefined(i))?16:i,I);};Number.prototype.oct=function(i,I){return this.radix(0x08,(isUndefined(i))?6:i,I);};Number.prototype.dec=function(i,I){return this.radix(0x0A,(isUndefined(i))?2:i,I);};Number.prototype.hex=function(i,I){return this.radix(0x10,(isUndefined(i))?4:i,I);};
2