by Yuening Dai (30 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 9th January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Use Function FormatCurrency in VB6
MsgBox FormatCurrency("1234.5678", , vbUseDefault) '$1,234.57, your input is rounded by VB!
'or
MsgBox FormatCurrency(1234.5678, , vbUseDefault)