i&#39;m new to PD as well but have worked in Max -  if by float you mean a decimal between 0.0 and 1.0 just use the [*] (multiply object<div>) after [random] and multiply by a decimal number (like .01). set the random to pick between 0 and 100 and you should be all set for 100 data points. as long as you have a clue of the number of data points between A and B you can set the range with the multiplier. you can also use the [drunk] object in PD-extended (cyclone) for a custom range but the decimal multiplier is still needed to convert that to float.</div>
<div><br></div><div>any other faster methods, PD&#39;ers? i&#39;m nowhere near the worlds greatest programmer, but that&#39;s what first comes to mind.<br><div><br></div><div>scott<br><br><div class="gmail_quote">On Fri, Jan 20, 2012 at 10:56 AM, Renato <span dir="ltr">&lt;<a href="mailto:rennabh@gmail.com">rennabh@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, I&#39;m very very new to pd, and couldn&#39;t find an answer to this<br>
supposedly simple matter. I see that the &quot;random&quot; object generates<br>
random integers between 0 and its argument.<br>
<br>
How do I generate a random float between floats a and b?<br>
<br>
cheers,<br>
renato<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div></div>