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;"><br>
 Would you give me solution for my problem about converting integer number to float number.<br></blockquote><div><br></div><div>I can try, but I don't have Max.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

 asoy $ float => float asik; //convert int to float (<br></blockquote><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><br class="Apple-interchange-newline">That part looks fine to me.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  asik => m.floatout// send data information to outlet chuck object on max msp<br>     </blockquote><div><br></div><div>Shouldn't this be like;</div><div><br></div><div> asik => m.floatout<font class="Apple-style-span" color="#ff0000">;</font> // send data information to outlet chuck object on max msp</div>
<div><br></div><div>Notice the added ";"</div><div><br></div><div>If you don't need those variables elsewhere you may also be able to save some memory and will certainly save some code by simply doing;</div>
<div><br></div><div>Std.rand2(24, 35) $ float => m.floatout;</div><div><br></div><div>Assuming m.floatout() only takes a float as a argument the cast should actually be implicit and you will likely get away with this;</div>
<div><br></div><div>Std.rand2(24, 35) => m.floatout; //being lazy is nice.</div><div><br></div><div>Hope that helps,</div><div>Kas.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div>