Skip to content

Commit

Permalink
Fixed rounding bug! (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhalidAdan authored Jan 14, 2022
1 parent 4d8353e commit 7951ed8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/ResultsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ export const ResultsTable = observer(() => {
<td colSpan={2}>Total Monthly Benefit Amount</td>
<td>
$
{root.oas.entitlementResult +
{(
root.oas.entitlementResult +
root.gis.entitlementResult +
root.allowance?.entitlementResult +
root.afs?.entitlementResult}
root.afs?.entitlementResult
).toFixed(2)}
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 7951ed8

Please sign in to comment.