From: Ian Ian Date: 2010-09-17T08:17:27+09:00 Subject: converting number to its digits as an array I'm new to ruby and I was trying to solve a problem where I convert a number into an array in such a way. If I have the number 12345, how do I take that number and put it into an array but where each element is a digit of the number 12345? If this is the wrong place to have posted such a question (for various reasons) then let me know. -- Posted via http://www.ruby-forum.com/.