Hey Tony,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> I have simple solution for that  just add float number 0.0 to variable int number.<br>
</blockquote><div><br></div><div> That will also work, as will multiplying by 1.0. I do feel that casting makes the intention more clear, which should improve code readability, but that might be a matter of taste and style.</div>
<div><br></div><div>BTW, I feel that something called "floatout()" can be assumed to take a float and that as casting from int to float -where needed- is automatic in ChucK you should not need to do any of this here. If that doesn't work (again I don't have Max) then I'd call that a minor bug or at least a inconsistency. If I were you I'd look into whether you really need to do any of this and if so report it to chuck~'s maintainer as a suggestion.</div>
<div><br></div><div>Yours,</div><div>Kas.</div></div>