Subject: Re: how to translate base 10 number into base 2 number
From: "Uma Geller" <umageller gmail.com>
Date: Mon, 15 Jan 2007 05:10:44 +0900
References: 233969233975233994234002
In-reply-to: 234002
> Since we start collecting solutions...
>
> irb(main):001:0> "%b" % 16
> => "10000"
readable and concise
beautiful !
UG
---
Uma Geller
http://umageller.wordpress.com