str function

string str(value)

value floatboolstringfloat[]bool[]string[] Value to convert.

Returns the value converted to string.

This function converts value to the corresponding string value.

Related

Examples

str(1.69)
# result = "1.69"

str(1.69 - 69/100)
# result = "1"

str(001)
# result = "1"

str(true)
# result = "true"