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> <<a href="mailto:paris@parisgraphics.com">paris@parisgraphics.com</a>
> 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't have pd on this machine, so i can't test for you...but<br>
if i recall correctly, there are both mod and div objects.<br><br>best,<br>p<br><br>> -------- Original Message --------<br>> Subject: [PD] Integer part<br>> From: "Carlos Pita" <<a href="mailto:carlosjosepita@gmail.com">
carlosjosepita@gmail.com</a>><br>> Date: Thu, June 28, 2007 11:47 pm<br>> To: <a href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>><br>> Hi all,<br>><br>> how do I get the integer and decimal part of a pd float?
<br>> I see that there is an [int] object but it works as a memory too, a<br>> bit more<br>> of what I need.<br>> Maybe I could use [expr~].<br>> Is there any standard or common way of doing this?<br>><br>
> Thank you in advance.<br>> Cheers,<br>> Carlos<hr>_______________________________________________<br>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management ->
<br>> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br><br></blockquote></div><br>