I would like to print out an list of reals in a table with perfectly identical number of digits so that they can be perfectly right-aligned. However, once I convert them to strings, TableForm
no longer prints them in a column:
TableForm[RandomReal[1, 20], TableAlignments -> Right]
TableForm[NumberForm[RandomReal[1, 20], {5, 3}], TableAlignments -> Right]
The first output has an inconsistent number of digits. The second is horizontal. Is there a good workaround for this issue?
NumberForm
is notListable
$\endgroup$