how to print 2 numbers after decimal in c code example Example: print double with 2 decimals c printf("%.2f", number);