When I launch Stata15 and run the following:

clear all
drop _all
gen f2 = 3
gen p2 = normal(f2)
display f2
display p2

I get f2 as 0, and p2 as 0.

Then, when I run some other do file, and then run the above code again, I get f2 as -.131511419 and p2 as 1.036654.

Why is it that when I write display f2 that it doesn't display 3, and when I write display p2 that it doesn't display 0.9987ish?