For arbitrary precision mathematics PHP offers BCMath which supports numbers of any size and precision up to 2147483647 (or 0x7FFFFFFF) decimal digits, if there is sufficient memory, represented as strings.
Platform | Url |
---|---|
PHP.net | https://www.php.net/manual/en/book.bc.php |