Weight Major:
floor(round(case {weightunit}
when 'kg' then {weight}*35.274
when 'lb' then {weight}*16
when 'oz' then {weight}
when 'g' then {weight} * 0.035274 end,0) / 16)
Weight Minor:
mod(round(case {weightunit}
when 'kg' then {weight}*35.274
when 'lb' then {weight}*16
when 'oz' then {weight}
when 'g' then {weight} * 0.035274end,0),16)
Comments
Please sign in to leave a comment.