| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: i have guilt |
From: "Tony Ingenoso"
The 754 standard has four different types of rounding availbale - up, down,
nearest, and chop. .NET and SQL server are probably using different NPX
settings.
See if there's some app settings that will allow you to program the kind of
rounding you need.
"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™.