Don't click here unless you want to be banned.

LSL Wiki : llFloor

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
integer llFloor(float val);

Returns the largest integer value <= val (rounds down).

llFloor(val) is equivalent to (integer)val if val >= 0. (integer)val is preferred, because it is faster.

The usage of these functions can be tricky. For examples of potential issues see llFrand.

Compare with llCeil and llRound.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Math
There is no comment on this page. [Display comments/form]