Skip to content

Commit

Permalink
Merge pull request #68 from 2-guys-Javascript/dev
Browse files Browse the repository at this point in the history
✨FEAT: ν™˜μœ¨ μ†Œμˆ«μ  비정상적인 ν‘œμ‹œ 제거(Math.floor) 배포 ν™˜κ²½ 적용
  • Loading branch information
manymogo authored Nov 2, 2023
2 parents 840dec3 + 52e7ad6 commit 018ef84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Japan/Exchange.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ function Exchange({ onChangeIsLoggedIn, onChangeUserId, onChangeDisplayName }) {
</div>
<h2>
{isKrwToJpy === true
? `100엔에 ${krwToJpy['conversion_rate'] * 100} μ›μž…λ‹ˆλ‹€!`
: `1000원에 ${jpyToKrw['conversion_rate'] * 1000} μ—”μž…λ‹ˆλ‹€!`}
? `100엔에 ${Math.floor(krwToJpy['conversion_rate'] * 100)} μ›μž…λ‹ˆλ‹€!`
: `1000원에 ${Math.floor(jpyToKrw['conversion_rate'] * 1000)} μ—”μž…λ‹ˆλ‹€!`}
</h2>
</div>
</div>
Expand Down

0 comments on commit 018ef84

Please sign in to comment.