'How to convert a float64 variable into a string?

I try to convert my float64 variable into str with : data['Abo_str'] = data['Abo'].isnull().astype(str) But the result is False. How can I do it ? Thx



Solution 1:[1]

In which language you are implementing If you are implementing in Python. The below code can be useful for you.

float_value = 1.99
string_value = str(float_value)
print(string_value)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Pratham