skip to Main Content

BigDecimal from json loses precision

The network call shows that the backend is sending this: "uom" : "EA", "qty" : 1.123456789012345678 but when it reaches the frontend, using console.log: { qty: 1.1234567890123457, uom: "EA" } why is the javascript losing the last digit or truncating…

VIEW QUESTION
Back To Top
Search