Convert a numeric value to binary

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Carlos Paiva

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This convert function, does the convertion from decimal to a binary string, with the optional precision size (number of significance digits to show, eight by default)

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: