flt.floor â integer
Instance Public methods
Returns the largest integer less than or equal to flt.
1 2 3 4 | 1 . 2 .floor #=> 1 2 . 0 .floor #=> 2 (- 1 . 2 ).floor #=> -2 (- 2 . 0 ).floor #=> -2 |
Returns the largest integer less than or equal to flt.
1 2 3 4 | 1 . 2 .floor #=> 1 2 . 0 .floor #=> 2 (- 1 . 2 ).floor #=> -2 (- 2 . 0 ).floor #=> -2 |
Designed by : w10schools
service@w10schools.com
Please login to continue.