Jump to content

Arithmetic/Integer: Difference between revisions

Line 853:
consoleEx writeLine:a:" * ": b:" = ":(a * b).
consoleEx writeLine:a:" / ": b:" = ":(a / b). // truncates towards 0
consoleEx writeLine:a:" %% ":b:" = ":(a mod:b). // matches sign of first operand
].</lang>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.