Brick\Math v0.3.2 Release Notes
Release Date: 2015-06-07 // almost 9 years ago-
BigInteger
andBigDecimal
now have agetSign()
method that returns:-1
if the number is negative0
if the number is zero1
if the number is positive
BigInteger
and BigDecimal
now have a getSign()
method that returns:
-1
if the number is negative0
if the number is zero1
if the number is positive