![]() |
Float negative() is a float class method which checks whether the float value is negative.
Example #1:
Output : a is negative : true b is negative : true c is negative : false Example #2:
Output : a is negative : true b is negative : false c is negative : true |
Reffered: https://www.geeksforgeeks.org
Ruby |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |