mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-28 02:16:12 +01:00
Fix amount preview for scanned receipts (#227)
* no division of amount * use gpt-4-turbo * testing setup and naive test * test multiple variants * document * correct locale names * test large amounts * test wth strings * prettier
This commit is contained in:
@@ -40,7 +40,7 @@ export function formatCurrency(
|
||||
// '€' will be placed in correct position
|
||||
currency: 'EUR',
|
||||
})
|
||||
const formattedAmount = format.format(amount / 100)
|
||||
const formattedAmount = format.format(amount)
|
||||
return formattedAmount.replace('€', currency)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user