![]() |
Float phase() is a float class method which works on float values and works differently for both positive and negative values.
Example #1:
Output : phase value of a : 3.141592653589793 phase value of b : 3.141592653589793 phase value of c : 0 Example #2:
Output : phase value of a : 3.141592653589793 phase value of b : 0 phase value of c : 3.141592653589793 |
Reffered: https://www.geeksforgeeks.org
Ruby |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |