#include <stdio.h>
#include <math.h>
void main() {
float a=5;
printf("%d",(int)a
); // This casts to int, which will make this work printf("%.0f",a
); // This displays with no decimal precision }
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CnZvaWQgbWFpbigpIHsKICBmbG9hdCBhPTU7CiAgcHJpbnRmKCIlZCIsKGludClhKTsgLy8gVGhpcyBjYXN0cyB0byBpbnQsIHdoaWNoIHdpbGwgbWFrZSB0aGlzIHdvcmsKICBwcmludGYoIiUuMGYiLGEpOyAvLyBUaGlzIGRpc3BsYXlzIHdpdGggbm8gZGVjaW1hbCBwcmVjaXNpb24KfQ==