From: "Randy H"
This is a multi-part message in MIME format.
------=_NextPart_000_0132_01C28758.F276A9D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Which vintage of 754? 1985 or 1987?
"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
------=_NextPart_000_0132_01C28758.F276A9D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Which vintage of 754? 1985 or
1987?
"Rich" <{at}> wrote in message news:3dcbfdfe$1{at}w3.nls.net...
.NET
follows IEEE 754 =
which=20
specifies round to nearest as round to even. 3.45 rounds to =
3.4. =20
3.55 rounds to 3.6. You can look up IEEE 754 on the web if you =
are not=20
familiar.
Rich
"chad" <chabonowaka{at}hotmail.com>">mailto:chabonowaka{at}hotmail.com">chabonowaka{at}hotmail.com>
= wrote=20
in message news:3dcbd8a3{at}w3.nls.net...i
= feel=20
all dirty for making a post so pro microsoft like i did before =
(inthe=20
anti MS rant thread.) they really are evidence of the adage:=20
absolutepower corrupts absolutely.so i
just got this =
from one of=20
the development vp's in my company, in anemail entitled "only in =
Microsoft software." i figured i would send
italong, to =
help=20
cleanse myself..NET's Math.Round function rounds
"down" 0.5 =
(i.e.=20
3.45 rounds to 3.4)SQL Server's decimal-rounding rounds
"up" 0.5 =
(i.e.=20
3.45 rounds to 3.5)Another "win" for MS
:(chad - =
feeling a=20
little better
now
------=_NextPart_000_0132_01C28758.F276A9D0--
--- 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
|