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.
Required Ruby Version
>= 3.4.6
Authors
Arthur Brandão, Marcelo Toledo
Versions
- 0.0.9 October 15, 2025 (17 KB)
- 0.0.8 October 15, 2025 (17 KB)
- 0.0.7 October 14, 2025 (15 KB)
- 0.0.6 March 01, 2021 (15 KB)
- 0.0.5 February 02, 2021 (15 KB)