A modulus function is a function which gives the absolute value of a number or variable. The outcome of the modulus function is always positive.