change number base

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

change number base

bblochl
Is there any method to change the number base, i. e.
1234 asBinary

2r101010 is not what I am looking for.

Regards

B. Blochl
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: change number base

Bert Freudenberg
On 29.06.2011, at 13:56, bb wrote:

> Is there any method to change the number base, i. e.
> 1234 asBinary

Click "open...", "method finder". In its top-left text field, enter an example of what you are looking for. E.g.:

        7. 2. '111'

On the left are the arguments, the last one is the result.

Press return. The methods doing this particular conversion will be listed.

- Bert -


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners