How do I find the ceiling and floor for a number from a set of numbers?

Posted by kk on Stack Overflow See other posts from Stack Overflow or by kk
Published on 2010-04-15T11:32:15Z Indexed on 2010/04/15 13:53 UTC
Read the original article Hit count: 108

Filed under:
|
1st number:  50
2.           30
3.           70
4.           40
5.           11

and other number is 33

I need to calculate which two numbers the last number is between (using php) .. any help?

© Stack Overflow or respective owner

Related posts about php

Related posts about algorithm