main: vibe coded app to feel like paper
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Format a price in Toman with comma separators
|
||||
* @param price - Price in Toman
|
||||
* @returns Formatted price string with تومان suffix
|
||||
*/
|
||||
export function formatPrice(price: number): string {
|
||||
return `${price.toLocaleString('fa-IR')} تومان`;
|
||||
}
|
||||
Reference in New Issue
Block a user