Difference between revisions of "Ceil"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JBurgess
(de-spammed)
imported>WereWolf
m
 
(One intermediate revision by the same user 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 10: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]