client/splunk.ui.charting.js
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;
		}
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;
		}
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 ; }
Fix JS round off float errors
@param {Number} num
Fix JS round off float errors