//code
int testFunc(double value)
double test = 0.0;
if(val<=test)
std::cout<<"Both are Equal"<<std::endl;
///
The if loop may result to true if value ==0 but comparison of floating point values are not proper and violate the coding standard.
How can I carry out such a comparison??????????
Regards,
Sanjib