Amount
The amount gem provides a class called Amount
that represents an amount of money with currency and 18-digit precision. It extends the functionality of the fixed gem and adds currency support to handle monetary values accurately.
Installation
Add this line to your application's Gemfile:
gem 'amount'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install amount
Usage
TODO: Write usage instructions here
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/akuhn/amount. This project encourages collaboration and appreciates contributions. Feel free to contribute to the project by reporting bugs or submitting pull requests.
License
The gem is available as open source under the terms of the MIT License.