http://www.perlmonks.org?node_id=11106883


in reply to Find range in array with indices

7.23 is considered bigger than 7.133 (however, in terms of coordinates the opposite is the truth)

Can you explain this? How is 7.23 not bigger than 7.133?

And what should happen when the given number isn't in any of the ranges?