Tweaks to numeric, adding tablename arg.