This repository has been archived by the owner. It is now read-only.

big_decimal.cr

Allow (de)serialisation (#from_json, .to_json) and correct .to_s for BigDecimal

BigDecimal Patch

Allows correct .to_s, as well as #from_json and .to_json capabilities for BigDecimal

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      big_decimal:
        github: dukeraphaelng/big_decimal.cr
    
  2. Run shards install

Usage

require "big_decimal"

Contributing

  1. Fork it (https://github.com/dukeraphaelng/BigDecimal/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Owner
github statistic
  • 0
  • 0
  • 0
  • 0
  • 6 months ago
  • November 4, 2020
License

MIT License

Links
Synced at

Thu, 13 May 2021 04:54:48 GMT