mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 12:46:41 +00:00
Fixed unit tests
This commit is contained in:
4
src/utils/helpers/numbers.js
Normal file
4
src/utils/helpers/numbers.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const TEN_ROUNDING_NUMBER = 10;
|
||||
const { ceil } = Math;
|
||||
|
||||
export const roundTen = (number) => ceil(number / TEN_ROUNDING_NUMBER) * TEN_ROUNDING_NUMBER;
|
||||
Reference in New Issue
Block a user