Click here to Skip to main content
15,887,436 members
Home / Discussions / C#
   

C#

 
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


AnswerRe: C# accuracy probleb (double) Pin
harold aptroot7-Jul-09 8:23
harold aptroot7-Jul-09 8:23 
AnswerRe: C# accuracy probleb (double) Pin
Luc Pattyn7-Jul-09 8:27
sitebuilderLuc Pattyn7-Jul-09 8:27 
QuestionExcel Parseing Pin
guchu7-Jul-09 7:26
guchu7-Jul-09 7:26 
AnswerRe: Excel Parseing Pin
DarrenShultz7-Jul-09 8:21
DarrenShultz7-Jul-09 8:21 
GeneralRe: Excel Parseing Pin
guchu8-Jul-09 22:17
guchu8-Jul-09 22:17 
GeneralRe: Excel Parseing Pin
DarrenShultz9-Jul-09 5:18
DarrenShultz9-Jul-09 5:18 
QuestionEmail In C# Pin
kibromg7-Jul-09 5:41
kibromg7-Jul-09 5:41 
AnswerRe: Email In C# PinPopular
Christian Graus7-Jul-09 5:42
protectorChristian Graus7-Jul-09 5:42 
GeneralRe: Email In C# Pin
kibromg7-Jul-09 5:57
kibromg7-Jul-09 5:57 
GeneralRe: Email In C# Pin
Eddy Vluggen7-Jul-09 6:02
professionalEddy Vluggen7-Jul-09 6:02 
GeneralRe: Email In C# PinPopular
EliottA7-Jul-09 7:00
EliottA7-Jul-09 7:00 
GeneralRe: Email In C# Pin
Luc Pattyn7-Jul-09 8:39
sitebuilderLuc Pattyn7-Jul-09 8:39 
GeneralRe: Email In C# Pin
EliottA7-Jul-09 9:32
EliottA7-Jul-09 9:32 
GeneralRe: Email In C# Pin
Luc Pattyn7-Jul-09 12:06
sitebuilderLuc Pattyn7-Jul-09 12:06 
GeneralRe: Email In C# Pin
kibromg7-Jul-09 23:20
kibromg7-Jul-09 23:20 
QuestionTransparent Pictureboxes Pin
Jordanwb7-Jul-09 5:40
Jordanwb7-Jul-09 5:40 
AnswerRe: Transparent Pictureboxes Pin
Christian Graus7-Jul-09 5:43
protectorChristian Graus7-Jul-09 5:43 

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.