Skip to content

Commit 6cae16a

Browse files
author
Dushyant Bhalgami
committed
fixed leaerboard scores in integer issue
1 parent e1f3c58 commit 6cae16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/submission.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function toFixed(num, decimal) {
2424
const result = _.toFinite(toAcurateFixed(num, decimal));
2525
const integerResult = _.toFinite(removeDecimal(num));
2626

27-
if (_.isInteger(integerResult)) {
27+
if (_.isInteger(result)) {
2828
return integerResult;
2929
}
3030
return result;

0 commit comments

Comments
 (0)