From: Robert Klemme Date: 2010-09-21T21:19:03+09:00 Subject: Re: Dividing a number into individual digits On Tue, Sep 21, 2010 at 1:33 PM, Timothy Baron wrote: > Here's a simple question:  What's an effecient way to get the digits of > a number.  For instance, if I have the number 37, how can I get "3" and > "7"? Five days ago the exact same question was raised here - and answered. What prevented you finding that thread? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/