if Right (ToText ({SJJL.RatedLoad}, 4), 4) = "0000" then 0 else
if Right (ToText ({SJJL.RatedLoad}, 4), 3) = "000" then 1 else
if Right (ToText ({SJJL.RatedLoad}, 4), 2) = "00" then 2 else
if Right (ToText ({SJJL.RatedLoad}, 4), 1) = "0" then 3 else 4