![]() |
Float next_float() is a float class method which returns the next representation of the floating point number.
Example #1:
Output : Next Floating Point Number : 8.666666666666668 Next Floating Point Number : 8.099900000000002 Next Floating Point Number : 108.00300000000001 Example #2:
Output : Next Floating Point Number : 26.000000000000004 Next Floating Point Number : 8.000000000000002 |
Reffered: https://www.geeksforgeeks.org
Ruby |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |