--001636163fbbf771e1048913a26b
Content-Type: text/plain; charset=ISO-8859-1

2010/6/15 Stanislav Orlenko <orlenko.stas / gmail.com>

> Hi
> I have Fixnum. I want to check does this value integer or float, i. e.
> has .xx in the trail or not. How can I check this?
> Thanks in advance
> --
> Posted via http://www.ruby-forum.com/.
>
>
check your reference...
Fixnum are Integers, not float...
you are probably mislead by Numeric...  because Integer and Float are
Numeric

a  .1
a.class
Float

b  
b.class
Fixnum

a.is_a? Numeric
true

b.is_a? Numeric
true

--001636163fbbf771e1048913a26b--