You can convert Python numbers to a string as well by using the str() command.

For example, if you type myStr = str(188.88)

In [3]: myStr = str(1234.88)

In [4]: print(myStr)
1234.88


Comments