a % b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]


back to [[Scripting_Reference#|COMREF]]


<h2 style="color:#000066">''' ''a'' % ''b'' '''</h2>
<h2 style="color:#000066">''' ''a'' % ''b'' '''</h2>

Revision as of 11:17, 23 April 2006


a % b


Operand types:

a: Number

b: Number

Type of returned value:

Number

Description:

Remainder, of a divided by b.
Note: Remainder is calculated in real domain.


Example:

4.5 % 3 ..........Result is 1.5