CommandsabsOn this pageabs abs (num) The abs function returns the absolute value of the real number num. To calculate the absolute value of a complex number, use cabs.