8000 Change VUV majorValue for better compatibility by ast3150 · Pull Request #18 · wiredmax/world-currencies · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Change VUV majorValue for better compatibility #18

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ast3150
Copy link
@ast3150 ast3150 commented Dec 27, 2019

I propose changing the majorValue of the VUV currency to be in consistent format with all other values. All those values are currently represented as floating point numbers.

The only exception is VUV which does not really have a minor unit. This is currently represented as an empty string "", but that could cause compatibility issues. (At least it has for me).

I would like to use the value 1.0 to indicate that the minor unit is the same as the major unit. This is more consistent with the logic of the other values.

Also I fixed the formatting of the README header.

I propose changing the `majorValue` of the VUV currency to be in consistent format with all other values. That is, to use the value 1.0 to indicate that the minor unit does not have a different factor from the major unit. Previously, this was represented by an empty string "", which could cause compatibility issues with some code.
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.

1 participant
0