-
Couldn't load subscription status.
- Fork 162
Fix issue 156 add xcg currency support #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue 156 add xcg currency support #157
Conversation
add `XCG` currency constant
add entry for XCG Currency
Reviewer's Guide by SourceryThis pull request introduces support for the Updated class diagram for the currenciesclassDiagram
class Currencies {
XAG: Currency
XAU: Currency
XCD: Currency
XCG: Currency
XDR: Currency
XOF: Currency
XPF: Currency
}
class Currency {
Decimal: string
Thousand: string
Code: string
Fraction: int
NumericCode: string
Grapheme: string
Template: string
}
Currencies -- Currency : has
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lsmilesbd - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding a unit test to verify the properties of the new currency.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
hey @Rhymond Should I be the one to merge this, or will it go out with your next release? |
|
hi @lsmilesbd, thanks for the ping, I'm merging and releasing it |
Issue link
Description:
This PR adds support for the
XCG(Caribbean Guilder) currency, which replaces the existingANG(Netherlands Antillean guilder) currency for Curaçao and Sint Maarten. This currency launched as the official currency for Curaçao and Sint Maarten on March 31, 2025.Changes introduced:
XCGin constants.goXCGcurrency incurrenciesvar in file currency.goSummary by Sourcery
New Features: