function intLength(num) {
						num = num.replace(/^\-/, '');
						if (~num.indexOf('.')) {
							return num.split('.')[0].length;
						}

						return num.length;
					}
Returns length of integer part of number
@param {String} num