-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Format numbers as text #9
Comments
Hey I would like to work on this issue. Also, I'd like to participate in GSOC with the Accord Project, will it improve my chances if I solve a few issues in this repository? Specifically, i'd like to work on this project - https://github.com/accordproject/techdocs/wiki/Google-Summer-of-Code-2024-Ideas-List#1-playground-and-getting-started-experience |
Hi @dselman ,I've explored this repo locally and didn't figure out where should I implement the converter Functions, is the converter logic should be implemented here or in another repo? |
The code would be an enhancement to the various "drafters" we have. E.g. here is the one for Integer: |
@dselman It seems that this issue involves adding a formatting method that converts integer, long, and double values to English text. This formatting method gets called based on the format parameter in drafters. Is my interpretation correct? |
Some clauses include text, such as:
within thirty (30) days for new acquisitions or creations where turnover exceeds GBP 10,000,000 or fifteen percent (15%) of total group turnover declared at inception of this Policy, whichever is the greater;
Where the numeric value and its text representation need to be kept in sync.
A formatting instruction for numbers could be added to covert the number to a locale specific string.
The text was updated successfully, but these errors were encountered: