<HTML>
<HEAD>
<TITLE>Re: [gradsusr] How to convert a string to a real number?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I’d like to second this question. I am having the same issue. I think the Grads literature says that some commands can use a number as a string for calculations. However, when I try and use my number “string” in a max or min Grads function, it throws an error.<BR>
<BR>
Thanks,<BR>
Darren<BR>
<BR>
<BR>
On 1/4/11 6:45 AM, "qinglan" <<a href="qinglan@hku.hk">qinglan@hku.hk</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Dear All,<BR>
<BR>
</SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14pt'>Is there anybody know how to convert a string to a real number in Grads? For example, if my string is ‘300.5’, I want to get the value of 300.5, which is a real number, how to do that?<BR>
<BR>
Really appreciate your help!<BR>
Best regards,<BR>
Qinglan Li<BR>
</SPAN></FONT></FONT><FONT SIZE="2"><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
gradsusr mailing list<BR>
<a href="gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><BR>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>