-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Or you can use MoneyPHP, which uses BCMath, and it takes care of all of your problems.
Floating point numbers, or floats, are stored as approximate binary fractions, which can cause rounding errors when compared for equality. This means that the values may not be exactly equal, leading to unexpected results. This is not specific to PHP - it is a characteristic of floating point numbers in general. Take a look: https://0.30000000000000004.com
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
-
Should I store the total price of an order or re-calculate it on-demand every time?
-
Need help with decimal and float type in Laravel API.
-
Trying to create a interface to abstract moneyPHP lib usage
-
MoneyPHP 4.0 released - it's PHP 8 compatible!
-
Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be. Fork of mpociot/vat-calculator, standalone, PHP 7.3+, modernized, with more features.