Click here to Skip to main content
15,897,226 members
Home / Discussions / C#
   

C#

 
GeneralRe: An odd predicament with windows forms Pin
nik1217-Jul-09 15:45
nik1217-Jul-09 15:45 
GeneralRe: An odd predicament with windows forms Pin
harold aptroot7-Jul-09 16:15
harold aptroot7-Jul-09 16:15 
AnswerRe: An odd predicament with windows forms Pin
amit_19867-Jul-09 20:35
amit_19867-Jul-09 20:35 
AnswerRe: An odd predicament with windows forms Pin
Ravi Bhavnani8-Jul-09 2:34
professionalRavi Bhavnani8-Jul-09 2:34 
AnswerRe: An odd predicament with windows forms Pin
Lecutus18-Jul-09 3:51
Lecutus18-Jul-09 3:51 
QuestionISO extractor? [modified] Pin
Jacob Dixon7-Jul-09 15:25
Jacob Dixon7-Jul-09 15:25 
AnswerRe: ISO extracter? Pin
harold aptroot7-Jul-09 15:35
harold aptroot7-Jul-09 15:35 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 15:38
Jacob Dixon7-Jul-09 15:38 
GeneralRe: ISO extracter? Pin
harold aptroot7-Jul-09 15:41
harold aptroot7-Jul-09 15:41 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 15:49
Jacob Dixon7-Jul-09 15:49 
GeneralRe: ISO extracter? Pin
harold aptroot7-Jul-09 16:12
harold aptroot7-Jul-09 16:12 
GeneralRe: ISO extracter? Pin
danzar7-Jul-09 16:45
danzar7-Jul-09 16:45 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 17:08
Jacob Dixon7-Jul-09 17:08 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 17:08
Jacob Dixon7-Jul-09 17:08 
QuestionWhat is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus17-Jul-09 9:59
Lecutus17-Jul-09 9:59 
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Christian Graus7-Jul-09 10:23
protectorChristian Graus7-Jul-09 10:23 
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
DaveyM697-Jul-09 12:38
professionalDaveyM697-Jul-09 12:38 
GeneralRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus18-Jul-09 4:17
Lecutus18-Jul-09 4:17 
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Alan N7-Jul-09 17:28
Alan N7-Jul-09 17:28 
GeneralRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus18-Jul-09 4:07
Lecutus18-Jul-09 4:07 
Questionupdating the database with the edited value from the datagridview Pin
praveenkumar_vittaboina7-Jul-09 9:47
praveenkumar_vittaboina7-Jul-09 9:47 
AnswerRe: updating the database with the edited value from the datagridview Pin
Manas Bhardwaj7-Jul-09 10:12
professionalManas Bhardwaj7-Jul-09 10:12 
AnswerRe: updating the database with the edited value from the datagridview Pin
FilipKrnjic7-Jul-09 23:24
FilipKrnjic7-Jul-09 23:24 
QuestionC# accuracy probleb (double) Pin
shai sherman7-Jul-09 7:45
shai sherman7-Jul-09 7:45 
AnswerRe: C# accuracy probleb (double) Pin
Ennis Ray Lynch, Jr.7-Jul-09 8:08
Ennis Ray Lynch, Jr.7-Jul-09 8:08 
Use a float.

On a more serious note, all programmers should know that:
double a = 1.5;
double b = 1.5;
bool result = a == b //should be assumed to be false


When doing double math determine the acceptable margin of error and use that in your calculations to evaluate equality. Usually margin of error is one order of magnitude below significant results. The other option is to magnify your numbers by a factor before performing your results and then divide when finished. Double will eventually run out of precision.


Need custom software developed? I do C# development and consulting all over the United States.

A man said to the universe:
"Sir I exist!"
"However," replied the universe,
"The fact has not created in me
A sense of obligation."
--Stephen Crane


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.