
05-27-2009, 08:12 PM
|
|
Registered User
|
Join Date: Oct 2003
Posts: 2,712
|
|
|
The floor function finds the greatest integer less than or equal to a specified number. The ceiling function finds the smallest integer greater than or equal to a specifed number. These functions can be found in just about all programming languages.
In Graal, int(num) truncates the number, which in essence is what the floor function is supposed to do, so it's the same thing basically when using it on Graal. |
|
|
|