Thursday 10 November 2016

Arguments for "Format"

Cited from The printf command

%f       Interpret and print the associated argument as floating point number
%e      Interpret the associated argument as double, and print it in <N>±e<N> format
%g      Interprets the associated argument as double, but prints it like %f or %e

No comments:

Post a Comment