Dear Statalists,
I have a few numbers in my dta which I would like them to remain in this format (rounded to 1 decimal place) in tex file:
Average 14.0 5.2 3.5 10.5 50.4 26.8 28.9
However, when I export it to tex using "logout,save($filename) tex replace", it became:
Average & 14 & 5.200 & 3.500 & 10.50 & 50.40 & 26.80 & 28.90 \\ \hline
I wondered why this happened (maybe due to the notorious Stata approximation of numbers) and how I can correct it.
Thanks a lot!
--
Problem solved using "logout,save($filename) tex replace dec(1)"!
Welcome other suggestions too!
0 Response to Decimal places control when exporting to tex file using logout
Post a Comment