Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
GeneralRe: Button down issue Pin
Soleil couchant6-Jun-07 23:25
Soleil couchant6-Jun-07 23:25 
QuestionNumer Problem Pin
Pankaj - Joshi6-Jun-07 20:46
Pankaj - Joshi6-Jun-07 20:46 
AnswerYou just missed an 'm' Pin
CPallini6-Jun-07 21:07
mveCPallini6-Jun-07 21:07 
GeneralRe: You just missed an 'm' Pin
Pankaj - Joshi6-Jun-07 21:47
Pankaj - Joshi6-Jun-07 21:47 
GeneralRe: You just missed an 'm' Pin
CPallini6-Jun-07 22:06
mveCPallini6-Jun-07 22:06 
AnswerRe: Numer Problem Pin
Christian Graus6-Jun-07 21:08
protectorChristian Graus6-Jun-07 21:08 
GeneralRe: Numer Problem Pin
Pankaj - Joshi6-Jun-07 21:50
Pankaj - Joshi6-Jun-07 21:50 
AnswerRe: Numer Problem Pin
Guffa6-Jun-07 22:02
Guffa6-Jun-07 22:02 
1048576 is a literal of the type int.
1048576.0 is a literal of the type double.

When you do a division where both operands are int, the result is an int.

When you do a division where one or both of the operands are double, the result is a double.

1048576m is a literal of type Decimal. I would suggest that you avoid the Decimal data type, unless you actually need it's higher precision. (Which you don't do in this case.)

---
single minded; short sighted; long gone;

GeneralRe: Numer Problem Pin
Pankaj - Joshi6-Jun-07 22:20
Pankaj - Joshi6-Jun-07 22:20 
GeneralRe: Numer Problem Pin
DavidNohejl6-Jun-07 22:56
DavidNohejl6-Jun-07 22:56 
GeneralRe: Numer Problem Pin
Colin Angus Mackay6-Jun-07 23:16
Colin Angus Mackay6-Jun-07 23:16 
AnswerRe: Numer Problem Pin
Guffa7-Jun-07 13:32
Guffa7-Jun-07 13:32 
Questionhi Pin
Tauseef A6-Jun-07 20:45
Tauseef A6-Jun-07 20:45 
AnswerRe: hi Pin
Sathesh Sakthivel6-Jun-07 20:49
Sathesh Sakthivel6-Jun-07 20:49 
AnswerRe: hi Pin
blackjack21506-Jun-07 20:55
blackjack21506-Jun-07 20:55 
AnswerRe: hi Pin
Guffa6-Jun-07 22:24
Guffa6-Jun-07 22:24 
QuestionGet print jobs Pin
blackjack21506-Jun-07 20:36
blackjack21506-Jun-07 20:36 
AnswerRe: Get print jobs Pin
Martin#6-Jun-07 22:36
Martin#6-Jun-07 22:36 
GeneralRe: Get print jobs Pin
blackjack21507-Jun-07 0:31
blackjack21507-Jun-07 0:31 
Questionhi all Pin
Tauseef A6-Jun-07 20:29
Tauseef A6-Jun-07 20:29 
AnswerRe: hi all Pin
Sathesh Sakthivel6-Jun-07 20:41
Sathesh Sakthivel6-Jun-07 20:41 
AnswerRe: hi all Pin
M. J. Jaya Chitra6-Jun-07 20:42
M. J. Jaya Chitra6-Jun-07 20:42 
GeneralRe: hi all Pin
Sathesh Sakthivel6-Jun-07 20:47
Sathesh Sakthivel6-Jun-07 20:47 
GeneralRe: hi all Pin
M. J. Jaya Chitra6-Jun-07 20:57
M. J. Jaya Chitra6-Jun-07 20:57 
GeneralRe: hi all Pin
Sathesh Sakthivel6-Jun-07 20:58
Sathesh Sakthivel6-Jun-07 20:58 

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.