Answer the question
In order to leave comments, you need to log in
Why do I get a large remainder when adding numbers?
Hello. There is such an array:
we are talking about php.
When adding this array, I get 203959.97999999998
I added it through array_sum and with this crutch:
foreach ($qqq as $value) {
$qsum = $qsum + $value;
}
echo "$qsum";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question