Lines Matching refs:c
1 Number.prototype.radix = function(r, n, c) { argument
3 if (!c) c = '0';
4 return this.toString(r).padLeft(Math.abs(n), c);
7 Number.prototype.bin = function(n, c) { argument
8 return this.radix(0x02, (isUndefined(n))?16:n, c);
11 Number.prototype.oct = function(n, c) { argument
12 return this.radix(0x08, (isUndefined(n))?6:n, c);
15 Number.prototype.dec = function(n, c) { argument
16 return this.radix(0x0A, (isUndefined(n))?2:n, c);
19 Number.prototype.hex = function(n, c) { argument
20 return this.radix(0x10, (isUndefined(n))?4:n, c);