![]() |
The to_c() is an inbuilt method in Ruby returns a complex number with the num.
Example 1:
Output: 10+0i Example 2:
Output: 19-7i |
Reffered: https://www.geeksforgeeks.org
Ruby |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |