Files

4 lines
93 B
TypeScript

export const toHumanPrice = (price: number) => {
return Number(price / 100).toFixed(2);
};