Difference between revisions of "Ceil"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
m
imported>WereWolf
m
 
Line 6: Line 6:
  ceil [float]
  ceil [float]


Returns the nearest whole number above a number
Returns the nearest whole number above a number.


==Example==
==Example==
Line 19: Line 19:


[[Category: Functions]]
[[Category: Functions]]
[[Category: OBSE_Functions]]
[[Category: Functions (OBSE)]]
[[Category: OBSE_Math_Functions]]
[[Category:Math_Functions]]
[[Category:Math_Functions (OBSE)]]

Latest revision as of 11:42, 9 September 2007

A command for Oblivion Script Extender

Syntax:

ceil [float]

Returns the nearest whole number above a number.

Example[edit | edit source]

set n to ceil 5.234

n = 6

See Also[edit | edit source]