PMC: added safe as conversion call for numeric conversions