checking if a number is int

Robert Spielmann varial at gmx.de
Sat Apr 6 12:34:19 EST 2002


Hi,

is there a way in python to check if a number is integer? My problem is 
the following: I need to know if sqrt(x) is an integer value or if there 
is a fractional part.

Thanks for help
Robert Spielmann



More information about the Python-list mailing list