any idea how i could test if a variable is a floating point number?

gbreed at cix.compulink.co.uk gbreed at cix.compulink.co.uk
Mon Jun 25 07:28:32 EDT 2001


> any idea how i could test if a variable is a floating point 
number?

type(variable)==type(1.0)



More information about the Python-list mailing list