Tom;<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="NL" link="blue" vlink="purple"><div><br>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Thanks, if this works that’s fine with me a  ftos or .toString()
would be even better of course ;)</span></p>

<p class="MsoNormal"><font class="Apple-style-span" color="#1F497D" size="4"><span class="Apple-style-span" style="font-size: 15px;"><br></span></font></p></div></div></blockquote><div>Well, all objects have .toString(), but in ChucK primitives aren't objects so they lack member-functions.</div>
<div><br></div><div>I think a cast should be added because plus-chucking a float to a string already forms a implicit cast so a explicit one should be fine as well, I feel. That would be coherent with ChucK being meant to be very readable; a explicit cast may well be a part of the coder trying to express his intentions clearly.</div>
<div><br></div><div>Remarkably the Std does supply a tool to go from a string to a number, but not the other way around.</div><div><br></div><div>I say we overload "$" as the most simple and coherent solution.</div>
<div><br></div><div>Kas.</div></div>