Home > Back-end >  The C language
The C language

Time:01-19

What is the difference between % d and % 2 f

CodePudding user response:

% d plastic output; % f floating-point output; . % 2 f floating-point output, keep two decimal places

CodePudding user response:

Only difference between % d and % 2 f

CodePudding user response:

refer to the second floor lin5161678 response:
% and % d. The only difference between 2 f

At least have a %, it can calculate one thing in common,
  • Related