Difference between revisions of "Ceil"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns the smallest integral value that is not less than the given number. </onlyinclude> <syntaxhighlight lang="cpp"> float Ceil(float x) </syntaxhighlight> [[Ca...")
 
 
Line 2: Line 2:
 
Returns the smallest integral value that is not less than the given number.
 
Returns the smallest integral value that is not less than the given number.
 
</onlyinclude>
 
</onlyinclude>
 +
 +
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
float Ceil(float x)
+
float Maths::Ceil(float x)
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Global Functions]]
 
[[Category:Global Functions]]

Latest revision as of 22:24, 6 September 2012

Returns the smallest integral value that is not less than the given number.


This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.

float Maths::Ceil(float x)