Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Statistical functions in VFP6 (import)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00435549
Message ID:
00437046
Views:
28
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform