[ create a new paste ] login | about

Link: http://codepad.org/im0tgqMa    [ raw code | output | fork ]

Ruby, pasted on Oct 7:
1
2
3
s = "123"
b = 5
p i = s.to_i(b)


Output:
1
38


Create a new paste based on this one


Comments: