Convert to number before checking finite