> Hi:

> Problems with Report

>

> Suppose you have a table: SALES.DBF with a field: price_1 (Num 8,2) and some 800 records.

> Then in the Report footer you put a numerical field: price_1 and calculation sum it.

> In the Report Expression you put INT(price_1/5). Divide by 5 to get some decimals

>

> Somehow the INT() integer funtion does not work.

> It gives you a wrong number. I have gotten a diference of 3.

> For example the value without INT is like 31.567, and the value with INT() is like 29.

>

> Please if anyone can help I will appreciate it.

>

> Thanks.

Maybe there is something in your formula that causes that and not the INT(). Try this on your end:

MESSAGEBOX(157.835/5) && 31.567
MESSAGEBOX(INT(157.835/5)) && 31

http://sandstorm36.blogspot.comhttp://weblogs.foxite.com/sandstorm36/default.aspx