Top "Bcmath" questions

BC Math is a binary calculator for PHP which supports numbers of any size and precision, represented as strings.

How to install bcmath module?

How do I install the bcmath module on a server? I tried yum update php-bcmath but it said it found …

php module bcmath
How to install bcmath in Ubuntu for PHP 7.1

I'm using an Ubuntu 16 server for testing with php7.1. One of my app uses bcadd function. I know that I …

php ubuntu-16.04 ubuntu-server php-7.1 bcmath
Enable BCMath using php.ini?

I need to enable BC Math, but I don't want to do it using --enable-bcmath, primarily because I don't understand …

php bcmath
Fatal error: Uncaught Error: Call to undefined function bcadd()

After installed "eduTrac SIS" and accessing "dashboard" got this error Ubuntu 16.4, PHP 7.0(php7.0-fpm), Apache2, Nginx, URL gives error 500 and …

php nginx bcmath
PHP, Call to undefined function bccomp

I am getting this error PHP Fatal error: Call to undefined function bccomp() Anyone know how to solve it? --------------------edit …

php bcmath
How to ceil, floor and round bcmath numbers?

I need to mimic the exact functionality of the ceil(), floor() and round() functions on bcmath numbers, I've already found …

php rounding floor bcmath ceil
Raising to power in PHP

Well, i need to do some calculations in PHP script. And i have one expression that behaves wrong. echo 10^(-.01); …

php math exponent exponentiation bcmath
In PHP, how do I generate a big pseudo-random number?

I'm looking for a way to generate a big random number with PHP, something like: mt_rand($lower, $upper); The …

php random gmp bcmath