what function can converte a real to string

what function can converte a real to string

str()

If that doesn't work, you can always try:

repr()

There is a mild difference between str() and repr() ...

print str(0.1)      # 0.1
print repr(0.1)     # 0.10000000000000001

There is a mild difference between str() and repr() ...

print str(0.1)      # 0.1
print repr(0.1)     # 0.10000000000000001

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.