UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

16 lines 502 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.lessThan = void 0; const lessThan = (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.lessThan = lessThan; //# sourceMappingURL=lessThan.js.map