is this true?

int myInt;
double myDouble;

scanf("%lf", &myDouble);

myInt = myDouble

if(myInt == myDouble)
{
proceed............

would they equal if the input was say 123.00 but not equal if you input 123.01

i am pretty sure that my asumption is right but let me know if i am wrong.