src/nopg.js
function pad(num, size) {
	var s = num+"";
	while (s.length < size) {
		s = "0" + s;
	}
	return s;
}
function pad(num, size) {
	var s = num+"";
	while (s.length < size) {
		s = "0" + s;
	}
	return s;
}
function pad ( num , size ) { var s = num + "" ; while ( s . length < size ) { s = "0" + s ; } return s ; }
Returns a number padded to specific width
@param num
@param size
@return {string}
Returns a number padded to specific width