ans = 
Hi Anthony!
Its very easy to get the value of π. As π is a floating point number declare a long variable then assign 'pi' to that long variable you will get the value.
Eg:-
format long
p=pi

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!