Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 19:14
George_George15-Jun-08 19:14 
GeneralRe: out variable assignment Pin
S. Senthil Kumar15-Jun-08 19:34
S. Senthil Kumar15-Jun-08 19:34 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 19:38
George_George15-Jun-08 19:38 
AnswerRe: out variable assignment Pin
leppie15-Jun-08 19:06
leppie15-Jun-08 19:06 
QuestionSend Keys from WebApp to WinForms Pin
willybt8815-Jun-08 12:48
willybt8815-Jun-08 12:48 
AnswerRe: Send Keys from WebApp to WinForms Pin
Christian Graus15-Jun-08 12:58
protectorChristian Graus15-Jun-08 12:58 
Questionsimple regular expression problem Pin
Stephen Po15-Jun-08 11:55
Stephen Po15-Jun-08 11:55 
AnswerRe: simple regular expression problem Pin
Christian Graus15-Jun-08 12:09
protectorChristian Graus15-Jun-08 12:09 
QuestionProblem to Send Message to other Clients via MSMQ [modified] Pin
hdv21215-Jun-08 11:15
hdv21215-Jun-08 11:15 
QuestionGraphicsPath remove or alter line Pin
Chris Copeland15-Jun-08 11:13
mveChris Copeland15-Jun-08 11:13 
QuestionConverting a project to .Net 3 Pin
Muammar©15-Jun-08 9:28
Muammar©15-Jun-08 9:28 
AnswerRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:32
protectorChristian Graus15-Jun-08 9:32 
GeneralRe: Converting a project to .Net 3 Pin
Muammar©15-Jun-08 9:37
Muammar©15-Jun-08 9:37 
GeneralRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:43
protectorChristian Graus15-Jun-08 9:43 
GeneralRe: Converting a project to .Net 3 Pin
Muammar©15-Jun-08 9:49
Muammar©15-Jun-08 9:49 
GeneralRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:52
protectorChristian Graus15-Jun-08 9:52 
GeneralRe: Converting a project to .Net 3 Pin
Muammar©15-Jun-08 9:53
Muammar©15-Jun-08 9:53 
GeneralRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:54
protectorChristian Graus15-Jun-08 9:54 
GeneralRe: Converting a project to .Net 3 Pin
Muammar©15-Jun-08 9:55
Muammar©15-Jun-08 9:55 
Questiontotal minutes difference Pin
Jassim Rahma15-Jun-08 8:24
Jassim Rahma15-Jun-08 8:24 
AnswerRe: total minutes difference Pin
User 665815-Jun-08 8:35
User 665815-Jun-08 8:35 
AnswerRe: total minutes difference [modified] Pin
Eslam Afifi15-Jun-08 8:37
Eslam Afifi15-Jun-08 8:37 
AnswerRe: total minutes difference Pin
Pete O'Hanlon15-Jun-08 8:39
mvePete O'Hanlon15-Jun-08 8:39 
Questionround the fils Pin
Jassim Rahma15-Jun-08 8:18
Jassim Rahma15-Jun-08 8:18 
AnswerRe: round the fils Pin
Eslam Afifi15-Jun-08 8:49
Eslam Afifi15-Jun-08 8:49 
This is not rounding; you're taking the ceiling to 0.05 or 0.1 (in case it's not an integer amount of money)
A hint,
0.513 ceiling to 0.05 = 0.5 + 0.05 = 0.55
1.148 ceiling to 0.1 = 1.1 + 0.1 = 1.2

But you want 1.000 to return 1.000 not 1.05 or 1.1 so you'll take that into account. And use decimal not float or double.

Eslam Afifi

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.