Python script for converting strings to numbers

Discussion created by esthers on Jul 31, 2011
Latest reply on Jul 31, 2011 by stacyrendall
I need to convert two fields entered as strings into numbers so that I can do simple arithmetic on them using the field calculator. In ArcGIS 10 Desktop, within the field calculator, what script/function should I use?

All of the posts I have read on this problem suggest scripts that are no longer in the new version of ArcGIS 10.