Python:Convert a String to a Number
Revision as of 21:19, 31 December 2007 by Andr3w
Convert to Number
You can use the functions
to convert to integers or floating point numbers.
The value "1234" is a string, you need to treat it as a number - to add 1, giving 1235.