我想将2个数字除以2位小数以得到比率。除以零时的误差。
SampleTable
Midpoint Ratio(2 Decimals)
Data1 - 500 20 500/20
Data2 - 600 0 600/0
Ratio: IIf([SampleTable]![Data1]<>"",
Round([SampleTable]![Data1]/[SampleTable ]![Midpoint1],2),
Round([SampleTable]![Data2]/[SampleTable]![Midpoint2],2))