[PD] [newbie] rounding

marius schebella marius.schebella at chello.at
Tue Feb 10 06:27:10 CET 2004


Hi,

I made an abstraction a while ago which can do this. Unfortunately it is
named in german ("runden"). You can also give an argument like runden 4
which would round floats to 99.1234. default is to round to no commas.

find it at

http://www.parasitaere-kapazitaeten.net/Pd/pdpatches/index.htm
resp. http://www.parasitaere-kapazitaeten.net/Pd/pdpatches/runden.pd

Marius.

----- Original Message ----- 
From: "Anton Woldhek" <woldhek at xs4all.nl>
To: <PD-list at iem.at>
Sent: Monday, February 09, 2004 10:58 PM
Subject: [PD] [newbie] rounding


> Hi everybody,
>
> I was pretty active with PD for a while, but got kinda side-tracked
> unfortunatly.
> Anyways, if somebody could be so kind to help me back in the saddle.
> I need to round down a float. Right now the value (which is timer
actually)
> is something like 24.4648736
> I need it to be 24.5 in this case. I couldnt find an object to do this.
But
> im sure ive missed something,
> as i know ive done this before.
>
> thanks for the help
> Anton
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list





More information about the Pd-list mailing list