Changes

Understanding Ruby Variables

26 bytes added, 21:08, 14 November 2007
Converting Variable Values
54321.to_s(16)
=> "d431"
54321.to_s(8)
=> "152061"
</pre>
In fact, we can use any number base between 1 and 36 when using the ''to_s'' method.