feat(POS-006): completed feature
This commit is contained in:
4
project/apps/pos/src/lib/money.ts
Normal file
4
project/apps/pos/src/lib/money.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
/** Format cents as EUR string. */
|
||||
export function formatPrice(cents: number): string {
|
||||
return `€${(cents / 100).toFixed(2)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user