>What you probably want is: > >>>> import types >>>> type(i) == types.FloatType >True >>>> Using isinstance() as I described earlier is probably better because I think it works better with the idea of unifying types and classes. - Kef