![]() |
| | #1 |
| Registered User Join Date: May 2006
Posts: 1,579
| convert from Single to Decimal I think convert from Single or Double to Decimal is always fine since Decimal has broader precision and broader range. Why it is mentioned, "Conversions from Single or Double to Decimal throw an OverflowException if the result of the conversion is not representable as a Decimal." http://msdn.microsoft.com/en-us/libr...al(VS.80).aspx thanks in advance, George |
| George2 is offline |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using bitwise & to convert to octal | dbzx | C Programming | 1 | 04-28-2009 02:17 AM |
| Single Entry Single Exit | robwhit | C Programming | 5 | 11-11-2007 01:34 PM |
| strcat - cannot convert char to const char | ulillillia | C Programming | 14 | 12-07-2006 10:00 AM |
| Converting decimal to binary within a I/O program | RandomX | C Programming | 4 | 11-26-2006 09:25 AM |
| how to convert decimal number to ASCII code? | oie | C Programming | 11 | 11-03-2006 06:19 PM |