Two numbers A and B can be compared using "bigint(A).compareTo(bigint(B))".