Ad
  • Custom User Avatar

    I was having the same issue and it was driving me crazy. Using round or int, or even boolean did not work. I wrote my code all from the start. It calculates the seconds to catch up from there, goes to h:m:s. And that worked. Otherwise, it was giving me either wrong rouding up or wrong rounding down errors. Try it.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    If you are having some weird issues I suggest you calculate values using seconds as basis. I've had problems with rounding too and it worked for me

  • Custom User Avatar

    I'm having the same issue. I calculate a minutes that's 19.99999999 which rounds to 19 and is my only error. I'm not sure how to fix it. Anyone?!