help formatting number

Mario mtbros at tin.it
Tue Jun 13 16:01:15 EDT 2000


Hi..
this is a simple question but I can't find a simple answer... so help me.

I have an integer variable and I want it to become a string variable
formatted so that there is a dot between each three digits of the original
number. An example:
var =3456789
It must become:
"3.456.789"
Ideas ?
 Thanks
        Mario








More information about the Python-list mailing list