Skip to content
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

Add Caribbean Guilder (XCG) #1123

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MathijsK93
Copy link

@MathijsK93 MathijsK93 commented Mar 19, 2025

In this PR we're adding the Caribbean Guilder currency

https://en.wikipedia.org/wiki/Caribbean_guilder

@MathijsK93 MathijsK93 changed the title Add Caribbean Guilder (XGG) Add Caribbean Guilder (XCG) Mar 19, 2025
@kocasp
Copy link

kocasp commented Mar 20, 2025

This is becoming quite urgent

@MathijsK93
Copy link
Author

This is becoming quite urgent

In the meantime you can add an initializer:

# frozen_string_literal: true

require "money"

caribbean_guilder = {
  priority:              100,
  iso_code:              "XCG",
  name:                  "Caribbean Guilder",
  symbol:                "Cg",
  alternate_symbols:     [],
  subunit:               "Cent",
  subunit_to_unit:       100,
  symbol_first:          true,
  html_entity:           "",
  decimal_mark:          ",",
  thousands_separator:   ".",
  iso_numeric:           "532",
  smallest_denomination: 1

}
Money::Currency.register(caribbean_guilder)

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.

2 participants