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