How to Convert double to int in C
snippet in c

How to Convert double to int in C

user3005

double a = 12.34;
int b = a ;
//b = 12 not 12.34