How to Check Decimal in Ruby.

T

Thomas Khaipi

[Note: parts of this message were removed to make it a legal post.]

Dear all,

I would like to know, how can I check the "Decimal" value (0 to 9) with gets
method, without any converting ruby builtin method.

regards,

Salai.
 
R

Robert Klemme

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top