fixed round up function not imported
parent
a586522d95
commit
e06983ea61
@ -1,4 +1,4 @@
|
|||||||
function roundUp(num: number, precision: number) {
|
export function roundUp(num: number, precision: number) {
|
||||||
precision = Math.pow(10, precision)
|
precision = Math.pow(10, precision)
|
||||||
return Math.ceil(num * precision) / precision
|
return Math.ceil(num * precision) / precision
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue