You can also use convert/int2digits from the SVN version of the pdmtl
abstractions

Tom

On 7/4/07, Claude Heiland-Allen <[EMAIL PROTECTED]> wrote:
> glerm soares wrote:
> > I'm looking for some object that could separate the digits of a number like
> >
> > for example
> >
> > [123/
> > |
> > |
> > [separate_object]
> > |      |       |
> > |      |       |
> > [1/    [2/      [3/
> >
> >
> > as separeted floats...
> >
> > what's the better solution solution to that?
>
> [div 10] and [mod 10] can do this job.  [div 11] and [mod 11] can do the
> job if you want numbers in base 11 instead of base 10, too.
>
> Something like:
>
> 123
> [t f f]
> [div 10]                        [mod 10]
> [t f f]
> [div 10]               [mod 10]
> [t f f]
> [div 10]      [mod 10]
>
> (wires omitted in this "ascii diagram", hope it makes some sense)
>
>
>
> Claude
> --
> http://claudiusmaximus.goto10.org
>
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>


-- 
thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to