Find closest number in range?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-27T07:20:10Z Indexed on 2010/04/27 7:23 UTC
Read the original article Hit count: 158

Filed under:

What is the best way to find the closes value in a range...

for example i have an array with 0, 90, 180, 270, 360.. And a number 46...

What is the best way to find 90 in the array?

(in actipnscript 3)

© Stack Overflow or respective owner

Related posts about actionscript-3