format specifier for float and double in c code example Example: double data type format in c %lf you can try