Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Please help! DetailedInfo Line Casts an error

$
0
0
I've spent all day trying to make a script work.
Now I'm so close to my goal but this line casts an error.

"Input string was not in a correct form"

Code:
double RotorAng = Convert.ToDouble ((Rotors[0].DetailedInfo.Remove (0, 15)).TrimEnd ('°'));
What did I do wrong here? :)

Thanks in advance!

Viewing all articles
Browse latest Browse all 903

Trending Articles