Difference between revisions of "FMod"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Returns the floating-point remainder of the given numerator divided by the given denominator. </onlyinclude> <syntaxhighlight lang="cpp"> float FMod(float numerator...") |
Shadlington (Talk | contribs) |
||
Line 2: | Line 2: | ||
Returns the floating-point remainder of the given numerator divided by the given denominator. | Returns the floating-point remainder of the given numerator divided by the given denominator. | ||
</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 FMod(float numerator, float denominator) | + | float Maths::FMod(float numerator, float denominator) |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] |
Latest revision as of 22:25, 6 September 2012
Returns the floating-point remainder of the given numerator divided by the given denominator.
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
float Maths::FMod(float numerator, float denominator)