15
double이 정수인지 테스트하는 방법
이것을 할 수 있습니까? double variable; variable = 5; /* the below should return true, since 5 is an int. if variable were to equal 5.7, then it would return false. */ if(variable == int) { //do stuff } 나는 코드가 아마 그런 아무것도하지 않습니다 알고 있지만, 어떻게 않습니다 이 …