@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
16 lines • 554 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.greaterThanEqualTo = void 0;
const greaterThanEqualTo = (a, b) => {
let [aInts, aDecimals] = a.toString().split(".");
let [bInts, bDecimals] = b.toString().split(".");
if (Number(aInts) >= Number(bInts) ||
(Number(aInts) === Number(bInts) && Number(aDecimals) >= Number(bDecimals))) {
return true;
}
else {
return false;
}
};
exports.greaterThanEqualTo = greaterThanEqualTo;
//# sourceMappingURL=greaterThanEqualTo.js.map