signum property

int signum

The signum function value of this.

E.e. -1, 0 or 1 as the value of this Decimal is negative, zero or positive.

Implementation

int get signum => _rational.signum;