N
nas
Hi
Is there any way that i can find wether float variable contains
fraction??
for eg:-
if( isWholeNumber(b))
{
//do here
}
isWholeNumber(float var) should return true for the float numbers like
10.000 ,11.000 etc
and it shuold be false for numbers like 10.112 (if it contains
fraction), 11.092123
Is there any way that i can find wether float variable contains
fraction??
for eg:-
if( isWholeNumber(b))
{
//do here
}
isWholeNumber(float var) should return true for the float numbers like
10.000 ,11.000 etc
and it shuold be false for numbers like 10.112 (if it contains
fraction), 11.092123