control string for double in c programming code example Example: double data type format in c %lf you can try