Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Truncating decimals
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01146902
Message ID:
01146911
Vues:
29
>Okay. Here's what I'm really trying to do. I want to take a table that is up to 10 records and evenly distribute time between records. The time will be in 1/4 hour increments (0.25, 0.50, 0.75, 1.00, 1.25...) and 0.25 is the smallest. The total for the records must equal the starting "quarter-hour" amount. So I can't just have the last record hold the remainder, I need to switch from 0.02 in each record to 0.03 at some point I determine programmatically.

What do you mean by "up to 10 records"? If there are 7 records, what is the distribution?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform