You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
The float value to be rounded down.
Returns the nearest integer value that is less than or equal to fval
.
integer i; i = llFloor(3.0); // i will become 3, which is less or equal to 3.0 (in this case, equal). i = llFloor(3.001); // i will become 3, not 4, because 4 is greater than 3.001 and the result must be less or equal. i = llFloor(3.999); // i will become 3 i = llFloor(4.0); // i will become 4 i = llFloor(-3.0); // i will become -3 i = llFloor(-3.001); // i will become -4, which is less or equal to -3.001 (in this case, less) i = llFloor(-3.999); // i will become -4 i = llFloor(-4.0); // i will become -4