Hello all!

I need transform a string in a decimal number, I can to do it that way:

>>> a = list("348")
>>> a.insert(-2, '.')
>>> "".join(a)
'3.48'
>>> 

But when try this in web2py I get a "None" value, in the a.insert() 
operation.

So, someone would know how to do this in web2py? This way or otherwise?

-- 



Reply via email to