find out if variable is of type float in C code example
Example: check if float is integer c
float f = 4.5886;
if (f == (int)f)
printf("yes\n");
else printf("no\n");
float f = 4.5886;
if (f == (int)f)
printf("yes\n");
else printf("no\n");