lib/action/incrementDecrement.js
function intLength(num) {
		num = num.replace(/^\-/, '');
		if (~num.indexOf('.')) {
			return num.split('.')[0].length;
		}
		
		return num.length;
	}
function intLength(num) {
		num = num.replace(/^\-/, '');
		if (~num.indexOf('.')) {
			return num.split('.')[0].length;
		}
		
		return num.length;
	}
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
Returns length of integer part of number