diff --git a/src/js/utils/helpers.js b/src/js/utils/helpers.js index f0ee548..6a9c84a 100644 --- a/src/js/utils/helpers.js +++ b/src/js/utils/helpers.js @@ -114,13 +114,4 @@ export function round(d) { // https://floating-point-gui.de/ // https://www.jacklmoore.com/notes/rounding-in-javascript/ return Number(Math.round(d + 'e4') + 'e-4'); -} -/** - * Round a number to the closes precision, max max precision 4 - * @param {Number} d Any Number - */ -export function round(d) { - // https://floating-point-gui.de/ - // https://www.jacklmoore.com/notes/rounding-in-javascript/ - return Number(Math.round(d + 'e4') + 'e-4'); -} +} \ No newline at end of file