method

to_c

ruby latest stable - Class: Numeric
to_c()
public

Returns the value as a complex.