Convert a numeric value to binary
Category:Dates and Math
Version Compatibility: Visual Basic 6, Visual Basic 5
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.