View previous topic :: View next topic
|
Author |
Message |
naveensnayak
New User
Joined: 27 Nov 2006 Posts: 7 Location: Hyderabad
|
|
|
|
Will the sign be considered when using CEIL and FLOOR ?
like CEIL(3.2) = ?
Floor(3.2) = ?
CEIL(-3.2) = ?
Floor(-3.2) = ?
If someone can explain it would be of great help. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Are you talking about builtin functions? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Why not test rather than ask? This should take you about one minute. |
|
Back to top |
|
|
banu
New User
Joined: 09 Aug 2005 Posts: 8 Location: Chennai
|
|
|
|
CEIL(3.2) = 4
Floor(3.2) = 3
CEIL(-3.2) = -3
Floor(-3.2) = -4
== Ceil would consider the next immediate highest integer whereas floor is reverse.. |
|
Back to top |
|
|
|