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 13:28:32 CEST 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