add to_numeric support for complex objects with to_f method