You need a better math extension like BC Math, GMP… to handle the more precise precision.
Limitation of floating number & integer
More Related Contents:
- Compare floats in php
- PHP – Floating Number Precision [duplicate]
- Print numeric values to two decimal places
- Unformat money when parsing in PHP
- Can I rely on PHP php.ini precision workaround for floating point issue
- Converting a number with comma as decimal point to float
- PHP How do I round down to two decimal places? [duplicate]
- Remove useless zero digits from decimals in PHP
- Truncate float numbers with PHP
- Display float value w/o scientific notation
- Why are floating point numbers printed so differently?
- PHP String to Float
- PHP unexpected result of float to int type cast
- Selecting a float in MySQL
- PHP: get number of decimal digits
- Comparing floats – same number, but does not equal? [duplicate]
- checking if a number is float in PHP
- PHP float calculation error when subtracting
- PHP convert decimal into fraction and back?
- Extract floating point numbers from a delimited string in PHP
- PHP variable variables
- Using if(isset($_POST[‘submit’])) to not display echo when script is open is not working
- PHP built in server and .htaccess mod rewrites
- Calculate skip value for given record for sorted paging
- Jquery: Running AJAX locally without a webserver
- PHP 7.4 deprecated get_magic_quotes_gpc function alternative
- Replace tabs and spaces with a single space as well as carriage returns and newlines with a single newline
- move all files in a folder to another?
- What is the difference between null and empty?
- PHP Get Content of HTTP 400 Response