c how to print float with digits in fromt code example Example: print float in c printf("%.6f", myFloat);