-
Notifications
You must be signed in to change notification settings - Fork 4
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 money (currency) type #40
Open
Labels
enhancement
New feature or request
Comments
4 tasks
sirex
added a commit
to atviriduomenys/manifest
that referenced
this issue
Apr 1, 2022
Kol kas pašalinu `currency` tipą, nes jis kol kas nepalaikomas: - [ ] atviriduomenys/spinta#40 Todėl, kad nestabdyti šio pull request, laikinai atstatau į `number` tipą. Vėliau, kai atviriduomenys/spinta#40 bus įgyvendintas, grąžinsiu atgal `currency` tipą.
This was referenced Apr 14, 2022
This was referenced May 16, 2022
16 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
money
data type.money
data type would store amount and currency, original amount and currency should be stored, but also a normalized value should be stored for comparisons and other money related operations.Example:
When
property.ref
is not given, then multiple currencies can be stored. In this case, money should be stored not as a single number, but number and currency together. Ifproperty.ref
is given, then only amount is stored._amount
- returns money amount._currency
- returns currency (tree letter code).The text was updated successfully, but these errors were encountered: