Arithmetic/Integer: Difference between revisions

Content added Content deleted
No edit summary
Line 65: Line 65:


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==
The quotient rounds towards 0 if both inputs are integers or towards negative infinity if either input is floating point. The sign of the remainder is always the same as the sign of the first parameter.
The quotient rounds towards 0 if both inputs are integers or towards negative infinity if either input is floating point. The sign of the remainder is always the same as the sign of the first parameter (dividend).
<lang autohotkey>Gui, Add, Edit, va, 5
<lang autohotkey>Gui, Add, Edit, va, 5
Gui, Add, Edit, vb, -3
Gui, Add, Edit, vb, -3