hello silly question, but i can't seem to figure it it. I have an object which is:
>>> type(price) <class 'decimal.Decimal'> but i can't figure how to validate against it. >>>if not isinstance(price, decimal.Decimal): do something... how do i ensure that the object 'price' is a decimal? thanks ______________________________________________________ 33% off Norton Security Only From Tiscali - http://www.tiscali.co.uk/securepc/ ________________________________________________ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor