请大家帮我解释一下这段程序实现的功能,谢谢!
If Int(tb1("实发现金") * 10) = tb1("实发现金") * 10 Then
hxfscz = Trim(tb1("卡号")) & Right("0000000000000000" & Format(Int(tb1("实发现金") * 10) / 10) & "0", 16) & hxfrq & dwdh
Else
hxfscz = Trim(tb1("卡号")) & Right("0000000000000000" & Format(Int(tb1("实发现金") * 100) / 100), 16) & hxfrq & dwdh
End If
If Int(tb1("实发现金") * 10) = tb1("实发现金") * 10 Then
hxfscz = Trim(tb1("卡号")) & Right("0000000000000000" & Format(Int(tb1("实发现金") * 10) / 10) & "0", 16) & hxfrq & dwdh
Else
hxfscz = Trim(tb1("卡号")) & Right("0000000000000000" & Format(Int(tb1("实发现金") * 100) / 100), 16) & hxfrq & dwdh
End If
这句判断的是tb1("实发现金")后面是否是少于一位小数,如果超过一位这个判断=falseRight("0000000000000000" & Format(Int(tb1("实发现金") * 10) / 10) & "0", 16) 这个代码怎么怎么写,很多地方都是很罗嗦 ( ">
)(
// )
shannon--//""--
-/[email protected]
)(
// )
shannon--//""--
-/[email protected]
)(
// )
shannon--//""--
-/[email protected]