if Right (ToText ({表.字段}, 3), 3) = "000" then 0 else
if Right (ToText ({表.字段}, 3), 2) = "00" then 1 else
if Right (ToText ({表.字段}, 3), 1) = "0" then 2 else 3
-- 如果默认小数位数为四位小数点,则改成如下即可
if Right (ToText ({表.字段}, 4), 4) = "0000" then 0 else
if Right (ToText ({表.字段}, 4), 3) = "000" then 1 else
if Right (ToText ({表.字段}, 4), 2) = "00" then 2 else
if Right (ToText ({表.字段}, 4), 1) = "0" then 3 else 4