Rounding statment

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

Main Question or Discussion Point

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
18,549
2,026
This should be in the homework section, and you should show your attempts first.
 

Related Threads for: Rounding statment

  • Last Post
Replies
9
Views
3K
  • Last Post
Replies
6
Views
5K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
4
Views
983
  • Last Post
Replies
2
Views
870
  • Last Post
Replies
2
Views
1K
Top