float to str help

Simon Brunning SBrunning at trisystems.co.uk
Thu Jul 19 11:46:53 EDT 2001


> From:	Bryan Webb [SMTP:bww00 at amdahl.com]
>     In converting a float (5.661706091586558e+240) to a string using str()
> I
> come up with 5.6617060916+240 . I checked the string variable in the
> debugger. I need the full precicsion. I know its probably simple but this
> red hair is causing me problems.
 
Have you tried repr()?

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk





-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list