Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not so logical
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01422244
Message ID:
01422288
Vues:
84
This message has been marked as a message which has helped to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform