CodePudding user response:
double val=this - & gt; RichEdit1 - & gt; Lines - & gt; Strings [I] ToDouble ()/10;
CodePudding user response:
Pay attention to your data types to floatCodePudding user response:
double val=this - & gt; RichEdit1 - & gt; Lines - & gt; Strings [I] ToDouble ()/10;
CodePudding user response:
Pay attention to your data types to float