P
Prisma5mo ago
Satish

Float datatype in MongoDB

I have this in my schema
balance Float @default(0)
balance Float @default(0)
I'm using MongoDB + prisma. How can I restrict the decimal place to 2 digits? ex: 2.12
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server