Skip to content

Conversation

@ninjasimon
Copy link
Contributor

@ninjasimon ninjasimon commented Apr 15, 2025

Fixes values for sub_unit for many currencies.

  • When there are no fractional digits, sub_unit should be 1
  • When there are 3 fractional digits, sub_unit should be 1000
  • When there are 2 fractional digits, sub_unit should be 100

@ninjasimon ninjasimon self-assigned this Apr 15, 2025
@ninjasimon ninjasimon marked this pull request as ready for review April 15, 2025 22:23
@ninjasimon ninjasimon requested a review from a team as a code owner April 15, 2025 22:24
@ninjasimon ninjasimon merged commit bccd5e6 into main Apr 16, 2025
5 checks passed
@ninjasimon ninjasimon deleted the fix-sub_unit branch April 16, 2025 16:07
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.

7 participants