Yes, there are, just that they are not documented in the reference patches. Help on their menu context opens otherbinops-help.pd, which doesn't mention them. [div 1] will give the integer part. [mod 1] won't return decimal part because it's integer mod, but I still can substract integer part from the original number. Thank you very much. Cheers, Carlos.
<br><br><div><span class="gmail_quote">On 6/29/07, <b class="gmail_sendername"><a href="mailto:paris@parisgraphics.com">paris@parisgraphics.com</a></b> &lt;<a href="mailto:paris@parisgraphics.com">paris@parisgraphics.com</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i don&#39;t have pd on this machine, so i can&#39;t test for you...but<br>
if i recall correctly, there are both mod and div objects.<br><br>best,<br>p<br><br>&gt; -------- Original Message --------<br>&gt; Subject: [PD] Integer part<br>&gt; From: &quot;Carlos Pita&quot; &lt;<a href="mailto:carlosjosepita@gmail.com">
carlosjosepita@gmail.com</a>&gt;<br>&gt; Date: Thu, June 28, 2007 11:47 pm<br>&gt; To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>&gt;<br>&gt; Hi all,<br>&gt;<br>&gt; how do I get the integer and decimal part of a pd float?
<br>&gt; I see that there is an [int] object but it works as a memory too, a<br>&gt; bit more<br>&gt; of what I need.<br>&gt; Maybe I could use [expr~].<br>&gt; Is there any standard or common way of doing this?<br>&gt;<br>
&gt; Thank you in advance.<br>&gt; Cheers,<br>&gt; Carlos&lt;hr&gt;_______________________________________________<br>&gt; <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt;
<br>&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br><br></blockquote></div><br>