Поправил нейминг
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export function roundedNumber(val, digits, rounded = "floor") {
|
||||
export function roundNumber(val, digits, rounded = "floor") {
|
||||
let fraction = 10 * digits;
|
||||
return fraction
|
||||
? Math[rounded](val * fraction) / fraction
|
||||
|
||||
Reference in New Issue
Block a user