Hi Moises,
>total_min = INT(avulso_dataout - AVULSO_DATAIN) /60
I don't think you want to use the INT() function. INT() does cut of the decimal parts. If you have a number 1.9999999999999999999999999 the result of INT() is 1. I'd assume that in most cases the correct result would be 2, so ROUND(...,0) is the correct function. Please note that VFP will display 1.99999999999999999999999 as 2.00 in many cases.
--
Christof