Ad
  • Custom User Avatar

    Random tests with numbers > 1000 sometimes expect the wrong format:

    1234 expect '1234' but the correct solution would be '1.234'

    Also: a valid currency-string should always have 2 decimals, so the above should actually be

    1234 -> '1.234,00'

    The supplied testcases truncate the decimals if they end with a 0:

    '.10' becomes '.1' and '.00' gets removed alltogether