[PD] is there a [round]?

Mathieu Bouchard matju at artengine.ca
Wed Oct 12 06:43:41 CEST 2005


On Wed, 12 Oct 2005, james tittle wrote:

> ...looking for a pd object or abstraction that'll round a float up/down...

I told you, here's the full source code of the external, just paste it in 
the appropriate config file:



GridFlow::FObject.subclass("round",1,1){def _0_float(f)send_out 0,f.round end}



Note to other people: we know [i] is similar to what James wants, but it's
not similar enough.

____________________________________________________________________
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-list mailing list