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