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

Gaz thecalm at NOSPAM.btinternet.com
Mon Jun 25 12:33:54 EDT 2001


thanks   :)

gaz

<gbreed at cix.compulink.co.uk> wrote in message
news:9h7790$l0e$1 at plutonium.compulink.co.uk...
> > 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