Jump to content

Arithmetic/Integer: Difference between revisions

m
→‎{{header|GDScript}}: Rounding/remainder annotations
(GDScript tool script solution)
m (→‎{{header|GDScript}}: Rounding/remainder annotations)
Line 2,358:
difference = a - b
product = a * b
integer_quotient = a / b # Rounds towards 0
remainder = a % b # Matches the sign of a
exponentiation = pow(a, b)
</syntaxhighlight>
89

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.