import { _100 } from "../../constants";
import { Fraction } from "./fraction";
const _100_PERCENT = new Fraction(_100);
export class Percent extends Fraction {
    toSignificant(significantDigits = 5, format, rounding) {
        return this.multiply(_100_PERCENT).toSignificant(significantDigits, format, rounding);
    }
    toFixed(decimalPlaces = 2, format, rounding) {
        return this.multiply(_100_PERCENT).toFixed(decimalPlaces, format, rounding);
    }
}
