Ad
  • Custom User Avatar

    math.ceil returns a float in Python 2.x and an integer in Python 3.x, thus giving strings with .0 floats.

    Use Python 3.x instead.

  • Custom User Avatar

    Specify the language please.

    EDIT: tried both versions - the internal validation "inserts" an integer into the string, not a float ending with .0. Are you sure your code is correct?