Difference between revisions of "Roundf"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Rounds the given float to the nearest whole number, as a float. </onlyinclude> <syntaxhighlight lang="cpp"> float Roundf(float a) </syntaxhighlight> [[Category:Scr...") |
Shadlington (Talk | contribs) |
||
Line 3: | Line 3: | ||
</onlyinclude> | </onlyinclude> | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | float Roundf(float | + | float Roundf(float x) |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] |
Revision as of 17:36, 22 August 2012
Rounds the given float to the nearest whole number, as a float.
float Roundf(float x)