Libraries tagged by rounding
roave/no-floaters
400668 Downloads
PHPStan Rules to Disallow Float proliferation in contexts where IEEE-754 rounding errors are not acceptable
faonni/module-price
129854 Downloads
Rounding Price to Prettier Value for Multi-Currency Stores.
kschu91/largest-remainder-method
94388 Downloads
A PHP implementation of the largest remainder method algorithm. This method is the most common way to get rid of rounding issues when working with rounded percentage values.
filmtools/mround
21078 Downloads
Rounds a number to the nearest multiple of another number (mround, ceiling, floor)
roundingwell/hl7
1348 Downloads
An ADT/HL7 parser providing structured messages
roundly-consulting/money-for-laravel
1044 Downloads
Immutable arbitrary-precision Money and Currency value objects for Laravel: ISO 4217 + custom currencies, exact decimal parsing, rounding-safe arithmetic and allocation, locale formatting, Eloquent casts and schema macros, validation, discounts, tax, and pluggable exchange rates (array, database, ECB).
cable8mm/n-format
1853 Downloads
Laravel package for Korean and Japanese number formatting with Eloquent casts, value objects, ordinal support, currency formatting, and smart price rounding
smiso/flexible-price-rounding
1962 Downloads
Rounding prices in Magento 2
vdhicts/time
5365 Downloads
Time value-object with parser and collection and helpers for duration, rounding and ranges. Makes working with times easy.
tiny-blocks/math
22842 Downloads
Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit.
tezmanian/utils-num
55 Downloads
PHP number utilities: formatting, byte sizes, percentage, clamping, and rounding helpers (Num), plus arbitrary-precision decimal arithmetic via bcmath (Bc). PHP 8.3+, ext-bcmath is optional and only needed for Bc.
quittio/country-ch
258 Downloads
Quittio country pack for Switzerland: Swiss QR bill with payment part and receipt, VAT presets and invoice requirements of the MWSTG, 5 Rappen rounding, default interest. Not reviewed by a tax adviser yet.
mblajek/mbn
9674 Downloads
Library for PHP and JS to do calculations with any precision and correct (half-up) rounding.
liberusoftware/module-accounting-policies
41 Downloads
Effective-dated accounting recognition, capitalization, depreciation, FX, tax, rounding, write-off, materiality, and approval rules.
arokettu/datetime-rounding
1368 Downloads
DateTime rounding helper