The fdiv() function in Ruby returns the floating point result after division of two numbers.
Parameter: The function needs two numbers number1 and number2, where number1 is the dividend and number2 is the divisor.
Return Value: The function returns the floating point division of two numbers.
- Ruby | Numeric fdiv() function
- Ruby | Rational fdiv() function
- Ruby Float fdiv() method with example
- Ruby Integer integer? function with example
- Ruby | Integer >= function
- Ruby | Integer <=> function
- Ruby Integer gcd() function with example
- Ruby Integer even? function with example
- Ruby Integer lcm() function with example
- Ruby Integer next function with example
- Ruby Integer chr function with example
- Ruby | Integer - function
- Ruby Integer abs() function with example
- Ruby Integer odd? function with example
- Ruby | Integer << function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : Akanksha_Rai