You're looking for the Arithmetic expressions documentation:
https://docs.mendix.com/refguide/arithmetic-expressions
Example: https://modelshare.mendix.com/models/a36854d4-ab90-42fc-8f4d-e535c8ac8964/arithmetic-example