RubyGems Navigation menu

splittable 0.0.9

Splittable solves the common problem of dividing monetary values where the sum of rounded installments doesn't equal the original total. It ensures precise financial calculations by truncating values to the specified precision and attributing any difference to the first installment. Perfect for e-commerce payments, invoice distribution, and subscription billing.

Gemfile:
=

install:
=

Versions:

  1. 0.0.9 October 15, 2025 (17 KB)
  2. 0.0.8 October 15, 2025 (17 KB)
  3. 0.0.7 October 14, 2025 (15 KB)
  4. 0.0.6 March 01, 2021 (15 KB)
  5. 0.0.5 February 02, 2021 (15 KB)
Show all versions (9 total)

Runtime Dependencies (1):

bigdecimal ~> 3.0

Owners:

Pushed by:

Authors:

  • Arthur Brandão, Marcelo Toledo

SHA 256 checksum:

=

Total downloads 39,585

For this version 108

Version Released:

License:

MIT

Required Ruby Version: >= 3.4.6

New versions require MFA: true

Version published with MFA: true

Links: