Lines Matching refs:num
5271 p.binary = function(num, numBits) { argument
5275 if (typeof num === "number") {
5279 return decToBin(num, numBitsInValue);
5283 if (num instanceof Char) {
5284 num = num.toString().charCodeAt(0);
5292 var str = decToBin(num, numBitsInValue);
5396 var str, num, pad, arr, left, right, isNegative, test, i;
5399 num = arguments[0];
5402 isNegative = num < 0;
5405 num = Math.abs(num);
5408 str = "" + num;
5431 num = arguments[0];
5435 isNegative = num < 0;
5438 num = Math.abs(num);
5442 if (right < 0 && Math.floor(num) % 2 === 1) {
5444 if ((num) - Math.floor(num) >= 0.5) {
5445 num = num + 1;
5449 str = "" + num;