I no matter what input Numbers, the results is 0.00000, I was wrong?

CodePudding user response:
Double should use "% lf" rather than "% f"
CodePudding user response:
%
l f
CodePudding user response:
Replace with lf % % f, at least in the output when want to use % lf, otherwise the result will be truncated, from double to single precision output ~
CodePudding user response: