Which Math method is used to calculate the absolute value of a number | Eklavya Online

Which Math method is used to calculate the absolute value of a number

The abs() method is used to calculate absolute values.