我目前使用简单的 msgbox calc 来返回计算值。如何限制答案 msgbox 中返回值中显示的小数位数。
这是脚本!
Sub CalcmsgboxHect()
On Error Resume Next
num = InputBox("Please Enter The Number Of Acres You Would Like To Calculate Into Hectares ")
MsgBox num * 0.404686 & " Is the Number Of Hectares."
End Sub