by Kenaso (48 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Beginner
Originally Published: Thu 1st June 2017
Date Added: Tue 9th February 2021
Rating: (1 Votes)
Return a string representing the value in string format to requested number of decimal positions. Can handle both positive and negative values. Format a number to be displayed as Bytes, kB, MB, GB, TB, PB, EB, ZB, YB. ex: 987654321012345 --> 898.3 TB ' Positive data, -987654321012345 --> -898.3 TB ' Negative data, (987654321012345) --> (898.3) TB ' Negative data