Difference between revisions of "Ceil"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>TheImperialDragon
imported>WereWolf
m
 
(3 intermediate revisions by 3 users not shown)
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 18: Line 18:
*[[floor]]
*[[floor]]


[[Category: OBSE Functions]]
[[Category: Functions]]
[[Category:OBSE_Math_Functions]]
[[Category: Functions (OBSE)]]
[[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]