Rounding statment

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

I need to create a one line statment 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
20,226
3,597
This should be in the homework section, and you should show your attempts first.
 

Related Threads on Rounding statment

  • Last Post
Replies
9
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
6
Views
5K
  • Last Post
Replies
2
Views
2K
Replies
8
Views
750
Replies
3
Views
916
  • Last Post
Replies
2
Views
1K
Top