4 lines
115 B
TypeScript
4 lines
115 B
TypeScript
![]() |
export function formatDiscountFactor(factor: number): string {
|
||
|
return `${((1 - factor) * 100).toFixed(1)}%`;
|
||
|
}
|