<div dir="ltr">Put the [i] object wherever you need integers.<br><br><div class="gmail_quote">On Thu, Sep 18, 2008 at 1:18 PM, Tim Glasgow <span dir="ltr">&lt;<a href="mailto:rorytate@sympatico.ca">rorytate@sympatico.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there.<br>
<br>
 &nbsp; &nbsp;i&#39;ve been lurking here for 4 or 5 months now, and this community<br>
is really excellent; i&#39;ve learned a lot. But now i have my first<br>
question: Is there an easy way to make a number like 76.87731 round<br>
up/down or even just chop off the decimal places? i&#39;m sending these<br>
numbers as MIDI controller numbers and would like to be able to see<br>
them the way the MIDI device does, as a simple number between 0 and<br>
127.<br>
<br>
--t<br>
[london, canada]<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>