abs
Signature
function abs(int256 a) internal pure returns (uint256)
Description
Returns the absolute value of a number.
Example
uint256 ten = stdMath.abs(-10);
abs
function abs(int256 a) internal pure returns (uint256)
Returns the absolute value of a number.
uint256 ten = stdMath.abs(-10);