how to double an integer in c programming code example Example: How to Convert double to int in C double a = 12.34; int b = a ; //b = 12 not 12.34