Feb. 14, 2013
9:22 p.m.
Hi Ben, use that: 2r11 printStringBase: 10 -> 3 16r11 printStringBase: 10 ->17 Cheers, Jannik On Feb 14, 2013, at 10:05 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
Hi guys, I know it sounds stupid but how do I convert numbers from one base to another ?
I found
3 printStringBase: 2 -> '11'
But I would like something like
11 convertFromBase: 2 to: 10 -> 3
The Finder did help me about this one so I ask here :)
Thanks in advance,
Ben