Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Working with Decimals? #22

Open
strzibny opened this issue Dec 5, 2019 · 1 comment
Open

Working with Decimals? #22

strzibny opened this issue Dec 5, 2019 · 1 comment

Comments

@strzibny
Copy link
Contributor

strzibny commented Dec 5, 2019

I am thinking that it would be awesome to also support plain Decimals as an alternative to Money library that limits itself to cent values (integers as cents). Since many application save money data as decimals, this could be pretty useful (it could work without loosing any precision at all).

@maennchen
Copy link
Contributor

@strzibny Sure, I'd accept a PR for that.

If you'd like to tackle this, make sure that the decimal library is optional and the function that take decimals are conditionally compiled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants