Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stream Reader Pin
Judah Gabriel Himango16-Nov-06 4:45
sponsorJudah Gabriel Himango16-Nov-06 4:45 
QuestionUsing globalization for decimal seperator Pin
Yustme16-Nov-06 1:53
Yustme16-Nov-06 1:53 
AnswerRe: Using globalization for decimal seperator Pin
Anthony Mushrow16-Nov-06 2:06
professionalAnthony Mushrow16-Nov-06 2:06 
AnswerRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 2:13
Martin#16-Nov-06 2:13 
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 2:26
Yustme16-Nov-06 2:26 
GeneralRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 2:41
Martin#16-Nov-06 2:41 
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 3:52
Yustme16-Nov-06 3:52 
GeneralRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 4:20
Martin#16-Nov-06 4:20 
Hello,

Yustme wrote:
I also want to know what "out d" does.

This is just the out parameter of the TryParse Method.
That means, you give the reference of your lokal double variable "d" to the method, and you will get the result out of the Method on exactly the same variable.
This Method is using the possibility of the out parameter, because the return value is boolean.
The parsing too double was only ok, if the return value is true.
Therefore you have to put the code into an if statement, like I did.

Yustme wrote:
In the body of the if statement, the d has 0.5 as value instead of 0,5 which is the value of "input".

please send the whole code lines.

All the best,

Martin
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 4:31
Yustme16-Nov-06 4:31 
GeneralRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 4:46
Martin#16-Nov-06 4:46 
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 4:57
Yustme16-Nov-06 4:57 
GeneralRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 5:05
Martin#16-Nov-06 5:05 
GeneralRe: Using globalization for decimal seperator Pin
Martin#16-Nov-06 5:08
Martin#16-Nov-06 5:08 
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 6:43
Yustme16-Nov-06 6:43 
AnswerRe: Using globalization for decimal seperator Pin
Wjousts16-Nov-06 6:01
Wjousts16-Nov-06 6:01 
GeneralRe: Using globalization for decimal seperator Pin
Yustme16-Nov-06 6:44
Yustme16-Nov-06 6:44 
QuestionCalling Events from dll to html using javascript Pin
HASEENAA16-Nov-06 1:07
HASEENAA16-Nov-06 1:07 
QuestionReading text file from Resources Pin
Muntyness16-Nov-06 1:07
Muntyness16-Nov-06 1:07 
AnswerRe: Reading text file from Resources Pin
JoeSharp16-Nov-06 1:24
JoeSharp16-Nov-06 1:24 
GeneralRe: Reading text file from Resources Pin
Muntyness16-Nov-06 1:55
Muntyness16-Nov-06 1:55 
GeneralRe: Reading text file from Resources Pin
JoeSharp16-Nov-06 2:01
JoeSharp16-Nov-06 2:01 
GeneralRe: Reading text file from Resources Pin
Muntyness16-Nov-06 2:28
Muntyness16-Nov-06 2:28 
GeneralRe: Reading text file from Resources [modified] Pin
Muntyness17-Nov-06 6:27
Muntyness17-Nov-06 6:27 
QuestionCatching the Exception thrown from a property that change throu DataBinding [modified] Pin
NassosReyzidis16-Nov-06 0:40
NassosReyzidis16-Nov-06 0:40 
QuestionWhy do we have properties? Pin
Russell Jones15-Nov-06 23:26
Russell Jones15-Nov-06 23:26 

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.