printf of double with 2 decimale c code example Example: print double with 2 decimals c printf("%.2f", number);