abs
Returns the absolute value of the given value n .
Special cases:
-
abs(Int.MIN_VALUE)
isInt.MIN_VALUE
due to an overflow
See Also
Returns the absolute value of the given value n .
Special cases:
-
abs(Long.MIN_VALUE)
isLong.MIN_VALUE
due to an overflow
See Also