我刚刚开始了一个关于VBScript的视频,在几个教程后,我决定创建一个USD到EUR的转换器。这里的代码:货币转换功能不起作用
Option Explicit
Dim inputMoney
inputMoney = CDbl(InputBox("Enter in the number of USD:"))
MsgBox "The amount of " & inputMoney & " USD in EUR is" & convert_to_eur(inputMoney)
MsgBox exit_mssg()
Function convert_to_eur(amount)
amount = amount * 0.88
End Function
Function exit_mssg()
exit_mssg = "Thank you"
End Function
有人可以告诉我我要去哪里错了吗?
的可能重复的[VBScript的:从函数返回值](http://stackoverflow.com/questions/15667421/vbscript-return-从功能价值) – Helen