1 /**
  2  * /** Object wiseMath() Math에 관련된 Util을 제공 합니다.
  3  * Math related Util
  4  * @constructor
  5  * @extends Object
  6  */
  7 var wiseMath = function() {
  8 };
  9 
 10 /**
 11  * round_float
 12  * @param x
 13  * @param n
 14  * @returns
 15  */
 16 wiseMath.round_float = function(x, n) {
 17 	if (!parseInt(n)) {
 18 		n = 0;
 19 	}
 20 	if (!parseFloat(x)) {
 21 		return false;
 22 	}
 23 	return Math.round(x * Math.pow(10, n)) / Math.pow(10, n);
 24 };