PHP 4, PHP 5, PHP 7, PHP 8
bcmod - Get modulus of an arbitrary precision number
Bcmod Online Tool
Code Examples

Example #1 bcmod example

PHP Version:

Example #2 bcmod with decimals

PHP Version:

Example #3 of bcmod

PHP Version:

Function bcmod:

BCMath Arbitrary Precision Mathematics Functions

Most used PHP functions