Forums > MaxMSP

changing from base10

March 24, 2007 | 3:55 pm

hi

forgive me if this obvious/old. i’m aware of changing a number box to display hex or binary, but how would i go about implimenting other bases?

thanks


March 25, 2007 | 12:36 pm

Hi Robin,

Easiest way is with JavaScript (number).toString(base), so long as you
don’t need bases greater than 36.


Owen

robin foster wrote:
> hi
>
> forgive me if this obvious/old. i’m aware of changing a number box to
> display hex or binary, but how would i go about implimenting other
> bases?
>
>
> thanks
>
>
>


Viewing 2 posts - 1 through 2 (of 2 total)