T
T.K. Lim
I'm using these statement to update my table and found
wrong result.
UPDATE syinvdtl SET qty = qty - 500
WHERE syinvdtl.pcode = "GR1" and syinvdtl.uom = "PACK";
For table syinvdtl, i declare field qty as Number(Single)
with AUTO decimal places.
My qty initially has value 483.30, the result should be
483.3 - 500 = -16.70 but it appears as -16.70001. I try
few times but it seems to come out with same result.
May i know is this application bug or anything wrong with
my code
wrong result.
UPDATE syinvdtl SET qty = qty - 500
WHERE syinvdtl.pcode = "GR1" and syinvdtl.uom = "PACK";
For table syinvdtl, i declare field qty as Number(Single)
with AUTO decimal places.
My qty initially has value 483.30, the result should be
483.3 - 500 = -16.70 but it appears as -16.70001. I try
few times but it seems to come out with same result.
May i know is this application bug or anything wrong with
my code