This is really weird but it must be something so obvious that i cant see.
left column holds arrays of integers.
right column is the division : min(array)/max(array)
how can it be that the division is not correct?? its like magic, like a secret rounding happening 2/3 = 1 instead of 0.66
the division attribute is a float
and the array elements are integers.
oh and by the way you ll see its written max/min
thats because min/max equals 0.0 for some reason
Integer Division not working?
403 1 1- papsphilip
- Member
- 382 posts
- Joined: July 2018
- Offline
- papsphilip
- Member
- 382 posts
- Joined: July 2018
- Offline
-
- Quick Links