In reply to Andrea.

Yes, the ERF function is just a rescaling and translation of the normal CDF. The following are equivalent for all values of x:

erf = 1/2*(1 + erf(x/sqrt(2)));
normCDF = cdf("normal", x);