Bit of a newbie, so bear with me. I've written a program in Python 3.0 which I'm trying to change to PyS60. To simplify my question, if I run the following code in Python 3.0:
it returns 0.333333x=20
If I run it in PyS60, it returns 0.
Obviously, in Python 3.0, x is interperated as a floating point, whereas is PyS60 it's an integer.
I could get around the problem using the float() function, or by changing the first line to x=20.0, but as I have several hundred lines of code to wade through I was hoping there might be an easier way. In other words, how do I force Python to recognise variable assignments as floating point.