Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

difference between %f and %lf

%f is the format string for a float, the single precision floating-point type.

%lf is the format string for a double, the double precision floating-point type.
 
PREVIOUS NEXT
Tagged: #difference
ADD COMMENT
Topic
Name
6+4 =