C/double이 정수인지 판별 Edit Diff Refresh Backlink Random Search History Help Setting Hide Show double num=5.00000; if (num/1.00 == (int)num) printf("We have an integer!\n"); else printf("We don't have an integer!\n"); We have an integer! C double 이 글에는 0 개의 댓글이 있습니다. Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus