# How do I round a number to the nearest 5 or 10?

**URL:** <https://forum.kirupa.com/t/how-do-i-round-a-number-to-the-nearest-5-or-10/129765>\
**Category:** Uncategorized\
**Created:** [November 28, 2004, 5:23am UTC](https://forum.kirupa.com/t/how-do-i-round-a-number-to-the-nearest-5-or-10/129765 "2004-11-28T05:23:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OM2](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@OM2](https://forum.kirupa.com/u/OM2)\
**Post date:** [November 28, 2004, 5:23am UTC](https://forum.kirupa.com/t/how-do-i-round-a-number-to-the-nearest-5-or-10/129765/1 "2004-11-28T05:23:27Z")

</div>

[font=verdana,arial,helvetica][size=1] [/size][/font]I have the following numbers: 10.98, 1.23, 5.66.  
[font=verdana, arial, helvetica][size=2]  
I want to round the last digit to the nearest 5, to get: 11.00, 1.20, 5.70.

What’s the best way of doing this?

Any help would be appreciated.

Thanks.

OM[/size][/font]
