in reply to Type casting

How are you comparing? There are two ways you can compare:
# this will be false ('1992' eq '1992.0') # whereas this is true ('1992' == '1992.0')

As always, golden rule - post your code snippet!

cLive ;-)