Ceil/ja

From M.U.G.E.N Wiki

Jump to: navigation, search


This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:



Trigger: Ceil (math)

Implements the "ceiling" function. Returns the least integer which is greater than or equal to the specified argument.

Format:
ceil(exprn)
Arguments:
exprn
Expression to compute the ceil of.
Return type:
int
Error conditions:
Returns SFalse if exprn evaluates to SFalse.

Example:

1. value = ceil(5.5)
  Sets value to 6.
2. value = ceil(-2)
  Sets value to -2.


Personal tools