"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Percentage = void 0;
const quantum_1 = require("./quantum");
class Percentage {
    constructor(value) {
        this._value = value;
    }
    toQuantum() {
        return quantum_1.Quantum.max * (this._value / 100);
    }
}
exports.Percentage = Percentage;
