I have some tables of numbers, most of which are small (0, 1, -1), but occasionally I have fractions. If I just has 0, 1, -1's I'd right align so the $-$ signs will line up, but the fractions throw things off. Center align doesn't look great either, nor does left align. Here is a small example of a right and center align:
\begin{tabular}{rr}
$\frac 1{24}$ & $-\frac 1{24}$ \\
$1$ & $-1$ \\
$-1$ & $0$ \\
\end{tabular}
\quad
\begin{tabular}{cc}
$\frac 1{24}$ & $-\frac 1{24}$ \\
$1$ & $-1$ \\
$-1$ & $0$ \\
\end{tabular}
Can I center align the numbers without the signs, so the top two rows will look like they do on the right in the example above, and the bottom two rows will look like the do on the left in the above example?