hi >>> a=2.1 >>> a%1==True False >>> a%1==False False >>> b=3.8 >>> b%1==True False >>> b%1==False False If it gives correct bool, it could be put to good use. Prasad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20090203/85344a7f/attachment.htm>