Javascript Number compareTo(other)
Number.prototype.compareTo = function (other) { return this.valueOf() == other; };