The MAG function returns a number that equals the absolute value of a specified expression. The returned value has the same data type as the expression. Example A = MAG(B)