Convert long integer to string

Isaac To Kar Keung kkto at csis.hku.hk
Thu May 24 03:10:42 EDT 2001


>>>>> "erik" == erik  <erik at seznam.cz> writes:

    erik> Hi, how convert long integer ( >2147483647 ) to string whithout
    erik> "L" on end?

How about str(val)[:-1]?

Regards,
Isaac.



More information about the Python-list mailing list