Skip to content
instance method

Numeric#to_c

() -> ::Complex
to_c → complex

Returns self as a Complex object.

See also #step #to_int #round #truncate also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0