by TerranRiCH (5 Submissions)
Category: String Manipulation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Thu 26th July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Take a number and insert any amount of 0's (zeroes) to fill up a certain amount of digits. (For example, if you need a set of 5-digit numbers
FillWithZeros = String(LengthDesired - Len(Trim(Str(NumberToUse))), "0") + Trim(Str(NumberToUse))
End Function
No comments have been posted about Take a number and insert any amount of 0's (zeroes) to fill up a certain amount of digits. (For exa. Why not be the first to post a comment about Take a number and insert any amount of 0's (zeroes) to fill up a certain amount of digits. (For exa.