Skip to content

fix: align INR formatPrice multiplier with declared rate#7825

Open
Harishrs2006 wants to merge 1 commit into
layer5io:masterfrom
Harishrs2006:fix/inr-currency-rate-mismatch
Open

fix: align INR formatPrice multiplier with declared rate#7825
Harishrs2006 wants to merge 1 commit into
layer5io:masterfrom
Harishrs2006:fix/inr-currency-rate-mismatch

Conversation

@Harishrs2006

Copy link
Copy Markdown
Contributor

Description:
Fixes #7824

The INR currency entry declares rate: 88.32 but formatPrice() hardcoded
price * 88, causing all INR prices to display ~0.36% lower than they should.

formatSliderPrice() already used price * rate correctly. This brings
formatPrice() into the same pattern, consistent with how EUR handles it.

Change:
src/utils/currencies.js line 36: price * 88 - price * 88.32

The INR entry declares rate: 88.32 but formatPrice() hardcoded
price * 88, causing all INR prices to be undervalued by ~0.36%.
EUR correctly uses price * 0.86 matching its declared rate.
This brings INR into the same pattern.

Signed-off-by: Harish R S <harishrs21082006@gmail.com>
@Harishrs2006 Harishrs2006 force-pushed the fix/inr-currency-rate-mismatch branch from 5dacae3 to 8640a54 Compare June 25, 2026 15:13
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for PR #7825 removed.

This PR preview was automatically pruned because we keep only the 6 most recently updated previews on GitHub Pages to stay within deployment size limits.

If needed, push a new commit to this PR to generate a fresh preview.

@Bhumikagarggg

Copy link
Copy Markdown
Contributor

@Harishrs2006 Thank you for your contribution! Let's discuss this during the website call tomorrow at 5:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: INR currency rate mismatch in formatPrice()

2 participants