25-09-2009, 04:11 PM
Code:
Private Sub Command1_Click()
Dim l As Long
l = 123939201
Debug.Print Format$(l, "###,###,###,###.00")
End SubThat will produce: 123,939,201.00
Code:
Private Sub Command1_Click()
Dim l As Long
l = 12
Debug.Print Format$(l, "$###,###,###,###.00")
End SubWill produce: $12.00
