numericCompare method

int numericCompare (num a, num b)

numeric comparision between two number a and b

Returns: -1 , 0 or +1

Implementation

static int numericCompare(num a, num b) => a.compareTo(b);