i am using prisma with postgresql and i got a lot of problems with prisma.decimal.
i tried to store it as new Prisma.Decimal(number Input) and when i get it back from Prisma, i get an [object Object] there is no way i can convert this into a Decimal. Every Method -> toNumber() etc. results in a error, that this is not a function.
So i tried to do the following Prisma.Decimal.IsDecimal(Object form Database), as u can see the result is false.
How can i convert this Prisma.Decimal from postgresql into a decimal which i can use in my code.
Please help!
Best Regards
Steven