On 2005-08-23, Konrad Mühler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> a simple question but i found no solution:
>
> How can i convert a float value into a string value?
>
>
> string_value1 = string(float_value) + ' abc'

 string_value1 = str(float_value) + ' abc'

Or the more versatile:

 string_value1 = "%10.3f abc" % float_value

-- 
Grant Edwards                   grante             Yow!  I'm having a BIG
                                  at               BANG THEORY!!
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to