export function formatDiscountFactor(factor: number): string { return `${((1 - factor) * 100).toFixed(1)}%`; }