Current location - Loan Platform Complete Network - Foreign exchange account opening - VB program code for converting US dollars into RMB.
VB program code for converting US dollars into RMB.
Private subcommand 1_click ()

Dim m means single, r means single, and h means single.

M=val(text 1.text)' USD quantity

H=8.099' exchange rate

R=m*h' transformation

Label 1. caption = format (r," #。 # # "'shows the converted RMB amount.

End joint