Skip to content

Commit 22692e6

Browse files
fix(condo): DOMA-11024 removed toFixed(20 (#5727)
1 parent 50202e4 commit 22692e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/condo/domains/billing/schema/AllResidentBillingReceiptsService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const AllResidentBillingReceiptsService = new GQLCustomSchema('AllResidentBillin
194194
if (acquiringContextId) {
195195
const formula = await getAcquiringIntegrationContextFormula(context, acquiringContextId)
196196
const feeCalculator = new FeeDistribution(formula, billingCategory.id)
197-
const { explicitFee } = feeCalculator.calculate(Big(toPay).minus(Big(newPaid)).toFixed(2))
197+
const { explicitFee } = feeCalculator.calculate(Big(toPay).minus(Big(newPaid)))
198198
fee = String(explicitFee)
199199
}
200200
receiptsWithPayments.push(({

0 commit comments

Comments
 (0)