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

Repository

big_decimal.cr

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • about 4 years ago
  • November 4, 2020
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 16:54:51 GMT

Languages