0

If I have an array of numbers (or exactly floats with 2 decimal digits)

array(104.5, 2345.6, 16.7, 111.9, 900.01)

and a sum - for example 1004.51

How do I suggest members of this sum from he given array in PHP?

I want to have an array of to elements 104.5 and 900.01 at the end.

Thanks.

0 Answers0