code: function correctFloat(num) {
  			var invMag, ret = num;
  			magnitude = pick(magnitude, math.pow(10, mathFloor(math.log(tickInterval) / math.LN10)));
  
  			if (magnitude < 1) {
  				invMag = mathRound(1 / magnitude)  * 10;
  				ret = mathRound(num * invMag) / invMag;
  			}
  			return ret;
  		}
docs: Fix JS round off float errors
  @param {Number} num