changing from base10

Mar 24, 2007 at 3:55pm

changing from base10

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

#31008
Mar 25, 2007 at 12:36pm

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
>
>
>

#99930

You must be logged in to reply to this topic.