SET DECIMALS TO 11 SET FIXED ON CREATE CURSOR orderRows (quantity N(10,1),weight N(9,2)) INSERT INTO orderRows VALUES (3.9,55.15) CALCULATE SUM(quantity*weight) TO calcTotalWeight ? ROUND(calcTotalWeight,2) SELECT SUM(quantity*weight) totalweight FROM orderRows INTO ARRAY selTotalWeight ? ROUND(selTotalWeight,2) ? 'NO ROUND : ', calcTotalWeight,selTotalWeight,IIF(calcTotalWeight=selTotalWeight,' EQUAL',' NOT EQUAL') FOR k=14 TO 1 STEP -1 ? TRANS(m.k,'@R ROUND 99 : '), ROUND(calcTotalWeight,m.k),ROUND(selTotalWeight,m.k),IIF(ROUND(calcTotalWeight,m.k)=ROUND(selTotalWeight,m.k),' EQUAL',' NOT EQUAL') next ? (calcTotalWeight-selTotalWeight)*1024*1024*1024*1024*1024 && binary shift the differenceI put two questions ( i known the answer ):