int.to_r â rational
Instance Public methods
Returns the value as a rational.
1 2 | 1 .to_r #=> (1/1) ( 1 << 64 ).to_r #=> (18446744073709551616/1) |
Returns the value as a rational.
1 2 | 1 .to_r #=> (1/1) ( 1 << 64 ).to_r #=> (18446744073709551616/1) |
Designed by : w10schools
service@w10schools.com
Please login to continue.