| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: i have guilt |
From: "Robert Comer"
I shouldn't round up?
Not really my decision to make -- I'd have to change way to much code to
change it. (and I'd have to change it in company's I no longer work for!)
Note that I didn't make that rule up, it was established at every place
I've ever worked before I got there...
- Bob Comer
"Thees Peereboom" wrote in message
news:7elpsu4gj1os4iq5usa51qpt7kro89isd6{at}4ax.com...
> Bob,
>
> You shouldn't - this is the way the original Windows calculator
> worked...
>
> - Thees Peereboom
>
> On Fri, 8 Nov 2002 13:31:59 -0500, "Robert Comer"
> wrote:
>
> >That's one of the most bizarre things I've seen. Any businesses that
I've been in contact with round up on 5.
> >
> >- Bob Comer
> >
> >
> > "Rich" wrote in message news:3dcbfdfe$1{at}w3.nls.net...
> > .NET follows IEEE 754 which specifies round to nearest as round to
even. 3.45 rounds to 3.4. 3.55 rounds to 3.6. You can look up IEEE 754
on the web if you are not familiar.
> >
> > Rich
> >
> > "chad" wrote in message
news:3dcbd8a3{at}w3.nls.net...
> > i feel all dirty for making a post so pro microsoft like i did before
(in
> > the anti MS rant thread.) they really are evidence of the adage:
absolute
> > power corrupts absolutely.
> >
> > so i just got this from one of the development vp's in my company, in
an
> > email entitled "only in Microsoft software." i
figured i would send
it
> > along, to help cleanse myself.
> >
> > .NET's Math.Round function rounds "down" 0.5 (i.e.
3.45 rounds to
3.4)
> > SQL Server's decimal-rounding rounds "up" 0.5 (i.e.
3.45 rounds to
3.5)
> >
> > Another "win" for MS :(
> >
> > chad - feeling a little better now
>
--- BBBS/NT v4.01 Flag-4
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/1.45)SEEN-BY: 3/2 10 106/1 120/544 123/500 379/1 633/260 267 270 285 774/0 605 SEEN-BY: 2432/200 @PATH: 379/1 106/1 123/500 774/605 633/260 285 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.