blah blah blah is here! blah blah » Close

0
votes
1 answers

how do you strip a " out of a string?

Okay so I've stripped all kinds of things but a double quote isn't one of them. Any advice on how to do this...? It's basically causing a failing update statement on an sql statement being built when users type in data. [code] p ...

0
votes
0 answers

insert values in database in image format from double format

how to insert values in a database attribute in image format from double format in a program. trying to add peak data double(X, Y)in a table.

1
votes
1 answers

double-precision numbers being miscalculated

I've wasted too much time trying to chase down this very strange bug. Simply put, if I say, for example, double a = 1.3; double b = 4.5; double c = a - b; then the result for c will be -3.2. We all know that despite whatever bla ...

0
votes
2 answers

Double round up

Hi, me again For complicated reasons I need to round up a doulbe to the closest whole number. ie(5.54 -> 6). If it helps I'm deviding two ints (X and I). Thanks in advance.

1
votes
3 answers

Convert Double Values to Char

I want to convert Double Values (including the decimal place) to Character and store them as bytes. I follow the simple instructions from http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/d606a107-d093-4f00-b585-cdf97f09 ...

0
votes
1 answers

C# - Converting a string to a double with textboxes

in my program I am using a database containing a product name and product cost that is associated with the product. On my form I have several comboboxes for several categories of products , with a textbox beside each combobox. When I select ...

0
votes
1 answers

Problems with double conversion C#

Hi, i don't understand: [code]label1.Text = dsLog.Tables[3].Rows[i][0].ToString(); //Output: 1.00[/code] but when i want to cast to double [code]double sas_sas = double.Parse(dsLog.Tables[3].Rows[i][0].ToString()); label1.Text ...

0
votes
1 answers

Displaying double value in Textbox

Following is the code: private void button1_Click(object sender, EventArgs e) { Globals.Turbo.GetPosition(Globals.device_number, 1, 0, out Globals.motorPos); X_Encoder_Pos.Text = Global ...

Feedback