Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support for BigDecimal #74

merged 1 commit into from Nov 26, 2012


None yet
2 participants

froderik commented Nov 26, 2012

Floats are not the best when it comes to arithmetic operations so therefore I added BigDecimal support along with a test. Now you can use BigDecimal as the type of a property:
property :number, :type => BigDecimal


langalex commented Nov 26, 2012

thanks great. i had monkeypatched this into a project but never got around to adding it to couch potato.

@langalex langalex added a commit that referenced this pull request Nov 26, 2012

@langalex langalex Merge pull request #74 from froderik/master
Support for BigDecimal

@langalex langalex merged commit e08ad14 into langalex:master Nov 26, 2012

1 check passed

default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment