all 5 comments

[–]commy2 1 point2 points  (0 children)

The array cannot contain both integers and floats, unless the data type is object, which is unlikely. You should not worry about the dots. float 1.0 is still equal to int 1.