by Afro (6 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
Round to X Decimal places with one line of code!
Private Sub RoundTo_Click()
Text1 = Format(Text1,"####.00") 'To alter
'the D.P. just add or subtract the 0's after
'the decimal point.
End Sub