Modify table templates to align num right.