Hi there,
I am trying to convert all variables in a dataset to string. I have a variable that is a double, in format %10.0g. When I try to convert it to string using the syntax
Stata returns the following error: varname cannot be converted reversibly; no replace. Why is this happening, and how can I get Stata to convert the double to a string?
Thanks,
Erika
I am trying to convert all variables in a dataset to string. I have a variable that is a double, in format %10.0g. When I try to convert it to string using the syntax
Code:
tostring varname, replace
Thanks,
Erika
Comment