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

C#

 
AnswerRe: why my graph error??? Pin
Pete O'Hanlon16-Sep-14 19:56
mvePete O'Hanlon16-Sep-14 19:56 
GeneralRe: why my graph error??? Pin
rikiz18-Sep-14 18:42
rikiz18-Sep-14 18:42 
GeneralRe: why my graph error??? Pin
Pete O'Hanlon18-Sep-14 19:37
mvePete O'Hanlon18-Sep-14 19:37 
GeneralRe: why my graph error??? Pin
rikiz1-Oct-14 9:02
rikiz1-Oct-14 9:02 
GeneralRe: why my graph error??? Pin
rikiz3-Oct-14 17:57
rikiz3-Oct-14 17:57 
AnswerRe: why my graph error??? Pin
V.16-Sep-14 23:18
professionalV.16-Sep-14 23:18 
GeneralRe: why my graph error??? Pin
rikiz18-Sep-14 18:45
rikiz18-Sep-14 18:45 
GeneralRe: why my graph error??? Pin
V.18-Sep-14 19:29
professionalV.18-Sep-14 19:29 
in that case you better start by picking a C# book and start reading from the start. This is very basic stuff.

A textbox gives the user's input as a piece of text, a string. a double is a certain type of number. Your computer is a machine and it only know 0 and 1. In this case the function expects a double, which is represented as a different series of 0 and 1's than a string, hence it doesn't understand the input. To make the input change from text to double you need to "parse" it. (parsing is like converting, you change the text value 1.123 into a double number 1.123 which is represented differently), but the "parsing" function makes some "assumptions" on the text it is given. (decimal operator is a . or , eg).

int, bool, double, float, string, char, ... they're all represented differently in the machine.

hope this clarifies things, but take the first sentence as advice, please.
V.

(MQOTD rules and previous solutions)

GeneralRe: why my graph error??? Pin
rikiz1-Oct-14 9:01
rikiz1-Oct-14 9:01 
QuestionHow do I select, drag and align the controls like Visual Studio at the running time ? Pin
Javafree16-Sep-14 15:31
Javafree16-Sep-14 15:31 
AnswerRe: How do I select, drag and align the controls like Visual Studio at the running time ? Pin
Pete O'Hanlon16-Sep-14 19:58
mvePete O'Hanlon16-Sep-14 19:58 
AnswerRe: How do I select, drag and align the controls like Visual Studio at the running time ? Pin
BillWoodruff17-Sep-14 0:54
professionalBillWoodruff17-Sep-14 0:54 
QuestionMaximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
mackmacwan16-Sep-14 9:58
mackmacwan16-Sep-14 9:58 
QuestionRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
ZurdoDev16-Sep-14 10:28
professionalZurdoDev16-Sep-14 10:28 
AnswerRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP PinPopular
Ravi Bhavnani16-Sep-14 12:21
professionalRavi Bhavnani16-Sep-14 12:21 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Bernhard Hiller16-Sep-14 21:35
Bernhard Hiller16-Sep-14 21:35 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Dave Kreskowiak17-Sep-14 5:01
mveDave Kreskowiak17-Sep-14 5:01 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Ravi Bhavnani17-Sep-14 5:12
professionalRavi Bhavnani17-Sep-14 5:12 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Dave Kreskowiak17-Sep-14 5:31
mveDave Kreskowiak17-Sep-14 5:31 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
mackmacwan17-Sep-14 8:01
mackmacwan17-Sep-14 8:01 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Pete O'Hanlon17-Sep-14 8:10
mvePete O'Hanlon17-Sep-14 8:10 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
mackmacwan17-Sep-14 8:26
mackmacwan17-Sep-14 8:26 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
Pete O'Hanlon17-Sep-14 8:36
mvePete O'Hanlon17-Sep-14 8:36 
GeneralRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
jschell17-Sep-14 10:03
jschell17-Sep-14 10:03 
AnswerRe: Maximizing Scalability and Cost Effectiveness of Queue-Based Messaging SMPP Pin
jschell17-Sep-14 10:06
jschell17-Sep-14 10:06 

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.