exact-proportion
Version:
Calculates a proportion
15 lines (14 loc) • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.proportion = void 0;
exports.proportion = {
a: (a) => ({
ratioB: (b) => ({
likeC: (c) => ({
ratioX: () => exports.proportion.div(exports.proportion.mul(c, b), a),
}),
}),
}),
div: (a, b) => a / b,
mul: (a, b) => a * b,
};