Rounding statment

  • Thread starter powp
  • Start date
  • #1
powp
91
0
Hello

I need to create a one line statement to round number up to nearest multiple of 5

so if I have a number 22 the result should be 25
so if I have a number 20 the result should be 20

or does anybody know how to calculate floor function?

Thanks
 

Answers and Replies

  • #2
DaveC426913
Gold Member
21,388
4,847
This should be in the homework section, and you should show your attempts first.
 

Suggested for: Rounding statment

Replies
8
Views
928
  • Last Post
Replies
15
Views
624
  • Last Post
Replies
1
Views
6K
Replies
10
Views
2K
Replies
3
Views
1K
Replies
2
Views
807
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
3
Views
974
  • Last Post
Replies
2
Views
978
Top