Answers for "is float c"

0

check if float is integer c

float f = 4.5886;
if (f == (int)f)
     printf("yes\n");
else printf("no\n");
Posted by: Guest on May-10-2021
2

what is float in c

float: It is used to store decimal numbers (numbers with floating point value) with single precision. double: It is used to store decimal numbers (numbers with floating point value) with double precision.
Posted by: Guest on March-03-2021

Browse Popular Code Answers by Language