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

C#

 
AnswerRe: Code is Rounding Down instead of Rounding Up Pin
PIEBALDconsult9-Mar-10 4:44
mvePIEBALDconsult9-Mar-10 4:44 
AnswerRe: Code is Rounding Down instead of Rounding Up Pin
Luc Pattyn9-Mar-10 4:46
sitebuilderLuc Pattyn9-Mar-10 4:46 
GeneralRe: Code is Rounding Down instead of Rounding Up Pin
Richard MacCutchan9-Mar-10 6:19
mveRichard MacCutchan9-Mar-10 6:19 
GeneralRe: Code is Rounding Down instead of Rounding Up Pin
Luc Pattyn9-Mar-10 6:37
sitebuilderLuc Pattyn9-Mar-10 6:37 
GeneralRe: Code is Rounding Down instead of Rounding Up Pin
Richard MacCutchan9-Mar-10 7:38
mveRichard MacCutchan9-Mar-10 7:38 
GeneralRe: Code is Rounding Down instead of Rounding Up Pin
Luc Pattyn9-Mar-10 9:41
sitebuilderLuc Pattyn9-Mar-10 9:41 
AnswerRe: Code is Rounding Down instead of Rounding Up Pin
Rob Philpott9-Mar-10 6:10
Rob Philpott9-Mar-10 6:10 
AnswerRe: Code is Rounding Down instead of Rounding Up Pin
suprsnipes9-Mar-10 21:41
suprsnipes9-Mar-10 21:41 
Hi,

Yes but the code doesn't appear to do what I intended. I had to change the code because I was trying to compare an int to a double and when I made the appropriate changes the output was incorrect.

I then looked into trying to achieve what I require another way. I have managed to get the text document into a list and now need to create a loop function to compare the double value of Close[0] to find the nearest value within the list above the Close[0] which is what I have been researching today.

As a newbie I apologise for not having a very good understanding of C# but I'm having a crack and I'm sure as time goes by I will be better equipped.

Appreciate the help,
suprsnipes
QuestionPasspoint: Robust Discretization Pin
einsteinmow9-Mar-10 3:17
einsteinmow9-Mar-10 3:17 
AnswerRe: Passpoint: Robust Discretization Pin
R. Giskard Reventlov9-Mar-10 4:08
R. Giskard Reventlov9-Mar-10 4:08 
GeneralRe: Passpoint: Robust Discretization Pin
EliottA9-Mar-10 5:05
EliottA9-Mar-10 5:05 
QuestionDataBinding issue Pin
GDavy9-Mar-10 3:17
GDavy9-Mar-10 3:17 
AnswerRe: DataBinding issue Pin
darkelv9-Mar-10 4:06
darkelv9-Mar-10 4:06 
GeneralRe: DataBinding issue Pin
GDavy9-Mar-10 20:06
GDavy9-Mar-10 20:06 
QuestionC# database connection Pin
2010JohnFByers9-Mar-10 3:15
2010JohnFByers9-Mar-10 3:15 
AnswerRe: C# database connection Pin
PIEBALDconsult9-Mar-10 3:31
mvePIEBALDconsult9-Mar-10 3:31 
AnswerRe: C# database connection Pin
R. Giskard Reventlov9-Mar-10 4:07
R. Giskard Reventlov9-Mar-10 4:07 
GeneralRe: C# database connection Pin
Mirko19809-Mar-10 6:16
Mirko19809-Mar-10 6:16 
GeneralRe: C# database connection Pin
2010JohnFByers10-Mar-10 5:36
2010JohnFByers10-Mar-10 5:36 
Questionbeginner question: foreach .. else? Pin
Ted On The Net9-Mar-10 2:02
Ted On The Net9-Mar-10 2:02 
AnswerRe: beginner question: foreach .. else? Pin
harold aptroot9-Mar-10 2:07
harold aptroot9-Mar-10 2:07 
AnswerRe: beginner question: foreach .. else? Pin
kevinnicol9-Mar-10 2:19
kevinnicol9-Mar-10 2:19 
GeneralRe: beginner question: foreach .. else? Pin
Ted On The Net9-Mar-10 3:24
Ted On The Net9-Mar-10 3:24 
GeneralRe: beginner question: foreach .. else? Pin
riced9-Mar-10 11:35
riced9-Mar-10 11:35 
AnswerRe: beginner question: foreach .. else? [modified] Pin
Paulo Zemek9-Mar-10 3:28
Paulo Zemek9-Mar-10 3:28 

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.