Table[NumberForm[N[Pi],{n,f}],{n,5},{f,5}]

TableForm[%]