How to make values of the table cell to centre in latex

latex

Please tell me how to make the values in this table to appear in the centre.

\begin{table}[h]
    \begin{center}
\caption{Mobile IP throughput statistics}
        \begin{tabular}{ | p{2.5cm} | p{2.5cm} | p{2.5cm} | }
            \hline Speed (km/hr) & Max (packets/sec)  & Sample mean (packets/sec) \\
            \hline 20 & 261.67 &  209.05\\
                           \hline 70 & 262.5 &  207.91\\
                           \hline 80 & 259.58 &  209.03\\ 
                           \hline 90 & 260.75 &  209.47\\
                           \hline 100 & 260.33 &  209.3\\
                            \hline 120 & 262.42 &  210.4\\
                            \hline 160 & 259.08 &  210.29\\                                 
            \hline
        \end{tabular}

        \label{table:table3}
    \end{center}
\end{table}

Thanks

Best Solution

Here's one way. But it's probably not the "correct" way:

\begin{tabular}{ | p{2.5cm} | p{2.5cm} | p{2.5cm} | }
  \hline \centering  Speed (km/hr) & Max (packets/sec) & Sample mean (packets/sec) \\
  \hline \centering  20 & \centering 261.67 & 209.05 \\
  \hline \centering  70 & \centering 262.5  & 207.91 \\
  \hline \centering  80 & \centering 259.58 & 209.03 \\ 
  \hline \centering  90 & \centering 260.75 & 209.47 \\
  \hline \centering 100 & \centering 260.33 & 209.3  \\
  \hline \centering 120 & \centering 262.42 & 210.4  \\
  \hline \centering 160 & \centering 259.08 & 210.29 \\                                 
  \hline
\end{tabular}
Related Question