Hii All

I use ruby 1.8.7
I run irb and type:

a = (0.29 * 100).to_i

the result is 28


why??????

could u explain to me.. Please????


THank you


-- 

Senior Rails Developer
Anton Effendi - Wu You Duan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to