[PD] division with remainder

Frank Barknecht fbar at footils.org
Thu May 11 17:41:39 CEST 2006


Hallo,
IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:

> hard off wrote:
> >i know of a long way to do this, but i think i remember hearing of an
> >object that does division primary school style.  ie, gives a whole
> >number and a remainder.
> >
> >eg.   7 / 2 = 3 remainder 1
> >
> >what's the object?
> 
> integer division:
> [/]+[int]

I prefer [div]. There also is [divmod] in maxlib, but I still prefer
[div] ... and [mod] in that case.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list