Added try/catch around int and float transforms and zero on error.