Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Round up


Function RoundUp( ByVal Value As Long , Round As Long )
      RoundUp = ((Value \ Round) + Sgn(Value Mod Round)) * 5
End Function