|
Convert Bytes to the Appropriate Format (Bytes, KB, MB, GB)
| Version Compatibility: |
Visual Basic 5 Visual Basic 6
|
More information: Convert bytes to the best format (Bytes, KB, MB, GB)
Examples:
- SetBytes(74) 'returns "74 Bytes"
- SetBytes(5037) 'returns "4.92 KB"
- SetBytes(6383838) 'returns "6.09 MB"
- SetBytes(3368383278) 'returns "3.14 GB"
This code has been viewed 327441 times. Instructions: Copy the declarations and code below and paste directly into your VB project. Declarations:
No Text Boxes
|