Hello! This may seem basic but I have done my best to read all documentation and search the community. I would like to have Stata display output values with one decimal place, even if that would be a zero. For example, if the values are
4
5
0
1.25
3.5
1
I would want to have it display
4.0
5.0
0.0
1.3
3.5
1.0
I have used both numeric formats (example: format %9.1g var_name) and the round() function (example: replace var_name = round(var_name, 0.1)) and can get both to work, but neither forces a zero to display after the decimal. Thanks for your consideration.
4
5
0
1.25
3.5
1
I would want to have it display
4.0
5.0
0.0
1.3
3.5
1.0
I have used both numeric formats (example: format %9.1g var_name) and the round() function (example: replace var_name = round(var_name, 0.1)) and can get both to work, but neither forces a zero to display after the decimal. Thanks for your consideration.
Comment