Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Statistical functions in VFP6 (import)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00435549
Message ID:
00437046
Vues:
31
>>So, rounding 5.5 to 6 would be the correct and appropriate thing to do ( i.e. normal rounding ). But are you saying that some one could legitimately, in determining a median, "round" $5.01 to 6 and call that "correct"?
>
>Yes, if you're the phone company computing a bill, 1 second becomes 1 minute, that's the kind of thing I was semi-joking about :)
>
>But not normally, in truly objective work. However, you can find a basis for rounding 5.5 to 5, that is done in some systems/methodologies.

Ah, gotcha. This is interesting, thanks. I tend to apply mathematical principles to situations so "rounding" 1 second to 1 minute, etc. seems, shall we say, obtuse. :-) But I can see how it might be necessary to truncate instead of truly round in some scenarios.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform