Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int round(int from, int round) {
- if(from % round == 0) {
- return from;
- }
- return round * (round % from);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement