Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework
What algorithm is used for rounding when doing a narrowing conversion between floating point numeric types?
Nathan Sokalski
10/19/2008 5:03:00 PM
When doing one of the following conversions (I know that data can be lost
and all those compiler warnings), what algorithm is used to determine the
value returned:
Converting Double to Single
Converting Decimal to Double
Converting Decimal to Single
Is this algorithm different for CType, CSng, CDbl, or the System.Convert
methods? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansok...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
What algorithm is used for rounding when doing a narrowing conversion between floating point numeric types?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password