Link to home
Start Free TrialLog in
Avatar of lysenko
lysenkoFlag for United States of America

asked on

Floor and Ceil function

How to do this query in field like this:

Age
-----
6
17
29
33
46
50
76
81
90

When I enter parameter n=48, it should return:

Age
-----
46
50

where 46 is biggest integer smaller than or equal to n, and 50 is smallest integer greater than or equal to n

Thanks
SOLUTION
Avatar of pivar
pivar
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Kevin Cross
Kevin Cross
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial