• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
deathcode Avatar
Name:Unknown
Clan:Die Unglaublichen Coder
Member Since:Mar 2017
Last Seen:Jun 2020
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    How many Kata did you complete in 2024?
    Discover our top moments in 2024 and how you can level up in 2025.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (7)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Chrono79
      • created a suggestion for "Round up to the next multiple of 5" kata
      • 5 years ago

      Given an integer as input, can you round it to the next (meaning, "higher") 5?

      Should be Given an integer as input, can you round it to the next (meaning, "higher") multiple of 5?

    • Custom User Avatar
      • Chrono79
      • resolved an issue on "Round up to the next multiple of 5" kata
      • 5 years ago

      Done.

    • Custom User Avatar
      • hobovsky
      • commented on "Round up to the next multiple of 5" kata
      • 5 years ago

      Fixed with this fork, please verify.

    • Custom User Avatar
      • Chrono79
      • created an issue for "Round up to the next multiple of 5" kata
      • 5 years ago

      Actual and expected are flipped in Java.

    • Custom User Avatar
      • Chrono79
      • commented on "Round up to the next multiple of 5" kata
      • 5 years ago

      Mention the language when reporting a problem, so it's easier to check. The problem is, actual and expected are flipped in Java and the expected value for -1 is 0, not -5.

      Given an integer as input, can you round it to the next (meaning, "higher") 5?

      The sample test is with 1, not -1.

    • Custom User Avatar
      • hobovsky
      • commented on "Round up to the next multiple of 5" kata
      • 5 years ago

      Please see if this FAQ helps, and come back if still have problems.

    • Custom User Avatar
      • deathcode
      • commented on "Round up to the next multiple of 5" kata
      • 5 years ago

      Hi,
      the final test are not working correctly, i get always the following error msg

      "Input: -1 expected: <-5> but was: <0>"

      but my return value is -5. The sample testcase with the same values was valid.
      Could someone help me?

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...