![]() |
Float modulo() is a float class method which return the remainder value on dividing two float values.
Example #1: Example for modulo() method
Output : numerator : 26.0 Division float/float : 2.0 Division float/float : 8.0 Example #2:
Output : numerator : 7 Division float/int : 3 Division float/float : 3.0 |
Reffered: https://www.geeksforgeeks.org
Ruby |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |