• Mose13@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 days ago

    For this specific project, I need max 2-3 decimal places of precision. So rounding really fixes all the issues. It’s more that we’re preventing the user from seeing awkward decimals. We aren’t doing rocket science. But understanding what metrics need what precision, and sometimes the same metric needs a different precision in different contexts.

    • psud@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      In money you can work in cents and round fractions to whole cents in someone’s favour depending on policy for example my home accounting program rounds divided amounts up in transfers to the various accounts. It’s pretty good right now with a can’t being such an insignificant value.