You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
Hi Roland,
As I am starting a small project to begin use of your library, I found decimal and numeric are not allowed data types (but they are the only that allow exact 2 decimal places for money amounts). I guess one could use double, but that is not exact.
I would like to know what you suggest.
Thanks!
Juan
The text was updated successfully, but these errors were encountered:
I would use bigint or some other integral type and combine it with information about the currency. Not all currencies have a minor unit that represents 1/100th of the main unit.
Hi Roland,
As I am starting a small project to begin use of your library, I found decimal and numeric are not allowed data types (but they are the only that allow exact 2 decimal places for money amounts). I guess one could use double, but that is not exact.
I would like to know what you suggest.
Thanks!
Juan
The text was updated successfully, but these errors were encountered: