Skip to content

Commit

Permalink
Merge pull request #112 from IEEE-RVCE/priceBugFix
Browse files Browse the repository at this point in the history
bug fixed for updated 2024 prices
  • Loading branch information
SundarakrishnanN authored Dec 24, 2023
2 parents 7a2e7a9 + e1e8225 commit 68f21c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CostFragment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function CostFragment({ cost }) {
style={{ userSelect: 'none' }}
align="right"
>
{isDollars ? '$' + Math.ceil(costsNumber/exchangeRate) : '₹' + costsNumber }
{isDollars ? '$' + (costsNumber/exchangeRate).toFixed(2) : '₹' + costsNumber }
</TableCell>
);
}
Expand Down

0 comments on commit 68f21c9

Please sign in to comment.