It seems to be impossible to set the output of a calculation to 2 decimal places.
I have tried both
Code: Select all
divide field "packprice" by fld "usualquantity"
put format("%.2f",fld "packprice")
put fld "packprice" into fld "cost"
Code: Select all
divide field "packprice" by fld "usualquantity"
set the numberformat to "0.00"
put fld "packprice" into fld "cost"
Any ideas ?