instance method Number#abs

View source on GitHub →

Number#abs() → Number

Returns the absolute value of the number. Convenience method that simply calls Math.abs on this instance and returns the result.