%% Choose Conversion Technique for Floating-Point Values
% Convert pi to a symbolic value.
% Choose the conversion technique by specifying the optional second argument, which can be 'r', 'f', 'd', or 'e'. The default is 'r'. See the Input Arguments section for the details about conversion techniques.

r = sym(pi)
f = sym(pi,'f')
d = sym(pi,'d')
e = sym(pi,'e')

%
% Copyright 2019 The MathWorks, Inc.