Click here to Skip to main content
15,925,371 members
Home / Discussions / C#
   

C#

 
AnswerRe: .Net application in Vista platform, CAS !!!!!???? Pin
stancrm11-Jun-08 20:08
stancrm11-Jun-08 20:08 
Questionstrange decimal rounding Pin
George_George11-Jun-08 19:23
George_George11-Jun-08 19:23 
AnswerRe: strange decimal rounding Pin
Christian Graus11-Jun-08 19:45
protectorChristian Graus11-Jun-08 19:45 
GeneralRe: strange decimal rounding Pin
George_George11-Jun-08 19:53
George_George11-Jun-08 19:53 
AnswerRe: strange decimal rounding Pin
Zoltan Balazs11-Jun-08 22:13
Zoltan Balazs11-Jun-08 22:13 
GeneralRe: strange decimal rounding Pin
George_George12-Jun-08 23:24
George_George12-Jun-08 23:24 
AnswerRe: strange decimal rounding Pin
S. Senthil Kumar12-Jun-08 21:07
S. Senthil Kumar12-Jun-08 21:07 
GeneralRe: strange decimal rounding Pin
George_George12-Jun-08 23:23
George_George12-Jun-08 23:23 
Thanks Senthil!


From discussion with you, I found it is always truncated when convert from Decimal to other type?

Truncate means, 100.9 will result in 100.
Rounding means 100.9 will result in 101.

When rounding will happen? Previously I thought rounding will happen when do conversion, but from dicussion with you, when doing conversion, truncate other than rounding will be performned.

So, when there will be rounding? Smile | :)


regards,
George
AnswerRe: strange decimal rounding Pin
S. Senthil Kumar13-Jun-08 1:24
S. Senthil Kumar13-Jun-08 1:24 
GeneralRe: strange decimal rounding Pin
George_George15-Jun-08 3:52
George_George15-Jun-08 3:52 
GeneralRe: strange decimal rounding Pin
S. Senthil Kumar15-Jun-08 11:03
S. Senthil Kumar15-Jun-08 11:03 
GeneralRe: strange decimal rounding Pin
George_George15-Jun-08 14:48
George_George15-Jun-08 14:48 
GeneralRe: strange decimal rounding Pin
S. Senthil Kumar15-Jun-08 18:09
S. Senthil Kumar15-Jun-08 18:09 
GeneralRe: strange decimal rounding Pin
George_George15-Jun-08 18:49
George_George15-Jun-08 18:49 
QuestionWhite Board Pin
Usharva11-Jun-08 19:22
Usharva11-Jun-08 19:22 
AnswerRe: White Board Pin
Christian Graus11-Jun-08 19:44
protectorChristian Graus11-Jun-08 19:44 
GeneralRe: White Board Pin
Usharva11-Jun-08 19:52
Usharva11-Jun-08 19:52 
QuestionC# error Pin
Susanmat11-Jun-08 19:18
Susanmat11-Jun-08 19:18 
AnswerRe: C# error Pin
Christian Graus11-Jun-08 19:43
protectorChristian Graus11-Jun-08 19:43 
AnswerRe: C# error Pin
AB777111-Jun-08 20:15
AB777111-Jun-08 20:15 
AnswerRe: C# error Pin
Guffa12-Jun-08 5:50
Guffa12-Jun-08 5:50 
QuestionRe: using HTTP as transportaion protocol in winodws application Pin
RameshwerE11-Jun-08 18:57
RameshwerE11-Jun-08 18:57 
QuestionConverting German characters like 'ß' using codepage 850 Pin
Tushar Mahajan11-Jun-08 18:40
Tushar Mahajan11-Jun-08 18:40 
AnswerRe: Converting German characters like 'ß' using codepage 850 Pin
Daniel Grunwald12-Jun-08 0:23
Daniel Grunwald12-Jun-08 0:23 
QuestionHow to debug in unmanaged COM in x64? Pin
RYU^^11-Jun-08 18:39
RYU^^11-Jun-08 18:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.