gustafn
committed
on 14 Dec 08
make numeric convert_to_external more robust