0

I have a problem in my php code where it didn't sum two floating point numbers. For this below code snippet it shows the output of "0.00108225".

print_r(bcadd(0.00108225, 0.00008892,8));

It shows correct output if I add it in a normal way. So is there any another way to get correct solution in bcmath module rather than using normal way?

0 Answers0