Ceiling - Math
Revision as of 18:21, 4 March 2010 by imported>Jlundin (New page: Category:Scripting Category:Papyrus '''Member of:''' Math Script Calculates the smallest integer greater than or equal to the passed in value. == Syntax == <source lang="papy...)
Member of: Math Script
Calculates the smallest integer greater than or equal to the passed in value.
Syntax
int Function Ceiling(float afValue) native global
Parameters
- afValue: The value to get the ceiling of.
Return Value
The ceiling of the passed-in value.
Examples
int x = Ceiling(2.1) ; x == 3
int y = Ceiling(5.9) ; y == 6