Good morning,
I am curious whether it is possible to round a number with asterisks, but keeping those characters in the output? I have a regression tables with many decimals and significance levels ***, ** or * moreover some numbers are in parentheses. Would it be possible/exist a simple way to round the numbers to 2 or 3 decimals? I do not put my code - nothing works for me.
<colgroup><col style="mso-width-source:userset;mso-width-alt:8777;width:180pt" width="240"> <col style="width:48pt" width="64" span="3"> </colgroup><tbody>
[TD="class: xl67, width: 240"]var1
[/TD]
[TD="class: xl70, width: 64"]0.969***
[/TD]
[TD="class: xl70, width: 64"]0.935***
[/TD]
[TD="class: xl70, width: 64"]0.934***[/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl70"](0.0112)[/TD]
[TD="class: xl70"](0.00947)[/TD]
[TD="class: xl70"](0.00997)[/TD]
[TD="class: xl68"]var2
[/TD]
[TD="class: xl69"]-0.0171**
[/TD]
[TD="class: xl69"]-0.0138***[/TD]
[TD="class: xl69"]-0.0138*
[/TD]
[TD="class: xl68"]
[/TD]
[TD="class: xl69"](0.00342)[/TD]
[TD="class: xl69"](0.00297)[/TD]
[TD="class: xl69"](0.00297)[/TD]
[TD="class: xl67"]dummy
[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"]0.0614***[/TD]
[TD="class: xl70"]0.0615*
[/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"](0.0102)[/TD]
[TD="class: xl70"](0.0102)[/TD]
</tbody>
Kind regards,
Wiley
I am curious whether it is possible to round a number with asterisks, but keeping those characters in the output? I have a regression tables with many decimals and significance levels ***, ** or * moreover some numbers are in parentheses. Would it be possible/exist a simple way to round the numbers to 2 or 3 decimals? I do not put my code - nothing works for me.
<colgroup><col style="mso-width-source:userset;mso-width-alt:8777;width:180pt" width="240"> <col style="width:48pt" width="64" span="3"> </colgroup><tbody>
[TD="class: xl67, width: 240"]var1
[/TD]
[TD="class: xl70, width: 64"]0.969***
[/TD]
[TD="class: xl70, width: 64"]0.935***
[/TD]
[TD="class: xl70, width: 64"]0.934***[/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl70"](0.0112)[/TD]
[TD="class: xl70"](0.00947)[/TD]
[TD="class: xl70"](0.00997)[/TD]
[TD="class: xl68"]var2
[/TD]
[TD="class: xl69"]-0.0171**
[/TD]
[TD="class: xl69"]-0.0138***[/TD]
[TD="class: xl69"]-0.0138*
[/TD]
[TD="class: xl68"]
[/TD]
[TD="class: xl69"](0.00342)[/TD]
[TD="class: xl69"](0.00297)[/TD]
[TD="class: xl69"](0.00297)[/TD]
[TD="class: xl67"]dummy
[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"]0.0614***[/TD]
[TD="class: xl70"]0.0615*
[/TD]
[TD="class: xl67"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"](0.0102)[/TD]
[TD="class: xl70"](0.0102)[/TD]
</tbody>
Kind regards,
Wiley