Skip to content

Commit 0ee1672

Browse files
committed
fix: preserve precision
Signed-off-by: Rakib Ansary <[email protected]>
1 parent 0cea37c commit 0ee1672

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/common/project-helper.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ class ProjectHelper {
6969
: null;
7070

7171
if (markup && markup > 0) {
72-
// Change int returned from api to decimal
73-
markup = markup / 100;
72+
markup = (markup * 100) / 10000;
7473
}
7574
return {
7675
billingAccountId: _.get(res, "data.tcBillingAccountId", null),

0 commit comments

Comments
 (0)