Click here to Skip to main content
15,894,896 members
Articles / Programming Languages / Visual Basic

Round a number to a multiple of another number

Rate me:
Please Sign up or sign in to vote.
3.14/5 (14 votes)
19 Jun 2006CPOL1 min read 48.4K   13  
Code to round a number to the nearest multiple of another number.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Finland Finland
My greatest coding accomplishment ever:

MsgBox("Are you sure you wish to erase the content from all your hard drives?", MsgBoxStyle.Critical)

Comments and Discussions