Difference between revisions of "LlCeil"

From Second Life Wiki
Jump to navigation Jump to search
 
m (LlCeil moved to LSL llCeil)
(No difference)

Revision as of 19:37, 25 January 2007

The correct title of this article is llCeil. The initial letter is shown capitalized due to technical restrictions.


integer llCeil( float val);

  • val - Any valid float value

Specification

Returns smallest integer value >= val

Energy: 10.0
Sleep: 0.0
Function ID: 10

Caveats

Examples

<lsl> default {

  state_entry()
  {
      llSay(0,"The ceil value of -4.5 is: "+(string)llCeil(-4.5) );
  }

} </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes