Hi!
I've got two problems with casting operations:
1. I want to cast a string to an int but if I do something like this:
intValue = (int)strText;
I'll get a wrong int value. For example:
string value: "372186"
int value : -268440556
I already tried it with an unsigned int... no chance!
2. How can I cast a string to a double?
dblValue = (double)strText;
Doesn't do the job!
has anybody an idea?
thanx!
frag
patrick.metz@epost.de
I've got two problems with casting operations:
1. I want to cast a string to an int but if I do something like this:
intValue = (int)strText;
I'll get a wrong int value. For example:
string value: "372186"
int value : -268440556
I already tried it with an unsigned int... no chance!
2. How can I cast a string to a double?
dblValue = (double)strText;
Doesn't do the job!
has anybody an idea?
thanx!
frag
patrick.metz@epost.de