Ad
  • Default User Avatar

    Hi.

    The Kata has the requirement : "You need to round the answer upto 2 decimal places and return it as String."

    Because of that, 2.4 is not the same as 2.40 (mathematically it is the same value).
    The Test expects two decimal places like in the example for 0 - the expectation is "0.00" and not "0" or "0.0".