소스 검색

fix: remove duplicate function

pull/347/head
Shivam Mishra 4 년 전
부모
커밋
8101b1822e
1개의 변경된 파일1개의 추가작업 그리고 10개의 파일을 삭제
  1. +1
    -10
      src/js/utils/helpers.js

+ 1
- 10
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');
}
}

불러오는 중...
취소
저장