• Eager Eagle
    link
    English
    311 month ago

    rounding half up

    round(49.5) + round(50.5)
    50 + 51
    

    as opposed to banker’s rounding / rounding half to even:

    round(49.5) + round(50.5)
    50 + 50
    
    • Scrubbles
      link
      fedilink
      English
      101 month ago

      Yeah fintech team rounded correctly and ui team rounded to the nearest int. No big deal, it’s not actual money here.