[PD] is there a [round]?

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 12 13:05:33 CEST 2005


Marius Schebella wrote:
> james tittle schrieb:
> 
>> heya,
>>
>> ...looking for a pd object or abstraction that'll round a float up/ 
>> down...
>>
>> james
> 
> 
> 
> I use my round to have a defined number of comma digits. 0.12345 --> 
> round 2 --> 0.12
> (default is 0)
> 

nice abstraction.

however, i would use [i] instead of [div] (should be faster),
and [t b f] instead of [runden] (ok, you'll have to adjust the 
patchcords a bit, so that the 1st outlet of [t b f] triggers the [10( 
and the 2nd one goes to the 2nd inlet of [pow])

mfg.asdr
IOhannes




More information about the Pd-list mailing list