Ok, someone out there knows how to do this - I just can not find the right combination of SQL to make it work.
Field : PUnits - int
Values: 6000, 5000, 900, 50
What I know is to do the math to get from PUnits * PRate = PLineTotal
need to divide Punits by 100 to get to the right decimal value
SO
6000 = 60.00
5000 = 50.00
900 = 9.00
50 = 0.00
(PRate *(PUnits/100)) -- all work when the value in PUnits has 3 or more characters -
but when the PUnits value = 50 and I apply the same rule then the value ( PUnits/100 ) 50 / 100 = 0000
I am sure that it is a matter of figuring out the right way to 'format' PUnits first.
Thanks.