I am new to dexterity and am in the process of moving all of our VBA mods to dexterity.
I am trying to calculate the percentage difference between 2 prices but am getting strange results;
in currency custprice; {0.07005}
in currency listprice; {0.3133}
out currency discount;
discount = (listprice-custprice) / listprice * 100;
warning str(discount); { shows 77 should be 77.64124 }
It is probably something obvious?!
*This post is locked for comments
I have the same question (0)