[Pharo-project] Another stupid question
Feb. 14, 2013
11:52 p.m.
Euh, sure this works: (Number readFrom: 'FF' base: 16) printStringBase: 2
Yes, one has to use "Number" instead of Integer and #readFrom:base: #readFrom: works too if you already have the string in source base representation, e.g. '16rFF'. The timing is good - currently work on the literal section for the new Pharo help system and will integrate this as an example in the tutorial. Bye T.
4915
Age (days ago)
4915
Last active (days ago)
0 comments
1 participants
participants (1)
-
Torsten Bergmann