Convert Bytes to Megabytes

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET, ASP.NET

More information:
Converts a figure represented in bytes to the corresponding figure in megabytes, formatted to two decimal places.

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

Declarations:

Code: