我正在尝试在函数中进行计算以得出百分比。但是百分比变量显示为 0。我做错了什么?
Public FullLoopNum as Integer
Public ReportPercentage As Integer
Public ReportRecordNum As Integer
Public Function WebOutput
ReportRecordNum = 1
FullLoopNum = 4
ReportPercentage = (ReportRecordNum \ FullLoopNum)
ReportPercentage = ReportPercentage * 100
End Function