"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var roundFloat = (number, decimals) => {
  var factorOfTen = Math.pow(10, decimals);
  var rounded = Math.round(number * factorOfTen) / factorOfTen;
  //console.log(`roundFloat ${number} ==> ${rounded}`)
  return rounded;
};
var _default = roundFloat;
exports.default = _default;