Chris
09/07/2021, 12:47 PM$queryRaw
which sums over various values in a Decimal column. The result incorrectly comes back as 337.40000000000003 instead of 337.4. The incorrect value is the same as what you would get back summing all the values in javascript. If I perform a similar query via the prisma client (without it being a raw query), the value is correctly represented as a Decimal. How can I get the correct Decimal value like this in a raw query? I've tried prismaClient.$queryRaw<Decimal[]>
but this does not help