how to find inverse of a number in ruby

Posted by kshama on Stack Overflow See other posts from Stack Overflow or by kshama
Published on 2010-03-31T01:04:18Z Indexed on 2010/03/31 1:13 UTC
Read the original article Hit count: 525

Filed under:
|

hi, Am new to ruby. Can any one tell me how to find inverse of a number in ruby.Is there any function for it? or just 1/number ? Thanks in advance.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby