- #1

- 91

- 0

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

- Thread starter powp
- Start date

- #1

- 91

- 0

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

- #2

DaveC426913

Gold Member

- 19,096

- 2,606

This should be in the homework section, and you should show your attempts first.

- 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
- 1K

- Last Post

- Replies
- 4

- Views
- 2K

- Last Post

- Replies
- 2

- Views
- 926

- Last Post

- Replies
- 2

- Views
- 1K

- Last Post

- Replies
- 2

- Views
- 2K

- Replies
- 8

- Views
- 595