From: Robert Klemme Date: 2009-04-05T21:29:20+09:00 Subject: Re: How to Check Decimal in Ruby. On 05.04.2009 14:06, Thomas Khaipi wrote: > I would like to know, how can I check the "Decimal" value (0 to 9) with gets > method, without any converting ruby builtin method. You can use a regular expression. Kind regards robert