Re: dcolumn: problema centramento fila di numeri

#45089
Up
0
Down
::


`
\begin{table}[ht]
\centering
\small
\begin{tabular}{l D{.}{.}{2} D{.}{.}{6} }
\toprule
\textbf{Component} &\multicolumn{1}{c}{\textbf{Vulume}} &\multicolumn{1}{c}{\textbf{$\%$}} \\
&\multicolumn{1}{c}{$(L)$} &\multicolumn{1}{c}{\textbf{of total volume}} \\
\midrule

Electric motors & 20 & 192 \\
Battery & 39 & 8.57 \\
Converter & 499 & 205 \\
Stack & 51 & 267 \\
Gas turbine plant & 2166 & 29 \\
Heat exchanger & 6 & 10.1 \\
Tank & 266 & 629 \\
\midrule
Total &1447.67 & 100 \\
\bottomrule

\end{tabular}
\caption{Volume breakdown for power system}
\label{tab:VolumeBreakdown}
\end{table}`

In questo caso per centrare la fila di numeri della terza colonna , ho dovuto impostare un numero di cifre decimali pari a sei.
Il risultato non è soddisfacente.
C’è un metodo migliore?

Grazie.

Go to top