mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
WIP Items module.
This commit is contained in:
4
common/utils.js
Normal file
4
common/utils.js
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
export function roundTo(num, to = 2) {
|
||||
return +(Math.round(num + "e+" + to) + "e-" + to);
|
||||
}
|
||||
Reference in New Issue
Block a user