#Medusa V2 Amount in Cents
8 messages · Page 1 of 1 (latest)
it look like this was changed, i look in the db and its store as 23 and not 2300, but i dont see any mention in the doc or maybe i didnt dig enought . but in the datamodel they just say https://docs.medusajs.com/resources/references/pricing/models/Price the amount of price , and in the migration guide from v1 to v2 i do not see it mention.
So actually that is good catch question you go there i didnt check they migraiton so maybe they do handle it well , its just been omitted in the doc and the migration
In v2 amounts are no longer stored in cents
Exactly, we now have big numbers in database 🙌
We could definitely improve this indeed!
I think it's worth opening an issue on GitHub
Okay every where I look, it sounds like Medusa 2.0 definitely stores prices in cents (i'm using Australian dollars). If thats the case, then why does 2500 ($25) display in the Medusa admin as $2,500??
Hey @wanton sphinx what makes you think it "definitely stores prices in cents"? This is not the case in v2 anymore
Thank you. I kept finding documentation that seemed to state otherwise. It’s resolved now.