Ad
  • Custom User Avatar

    .

  • Custom User Avatar

    Tell me please, does Kotlin support integer arithmetic? If it does, then you would have no problem with rounding if... you do no rounding. Every test case is (should be) solved solely with integers, and problems with rounding and floating point precision are caused by the fact that you decided to use doubles (or floats). Use ints, do no rounding, use integer division, and you won't have problems.

    If Kotlin tests are constructed correctly, that is.

  • Custom User Avatar

    Not a kata issue. If you want ask for 1.4 at: https://github.com/Codewars/codewars.com/issues.

  • Custom User Avatar

    I wouldn't say this is a kata issue, because Kotlin 1.4 isn't available right now in Codewars, it's not the same as it being available and the kata not being updated.