RealDigits[#/#2, 10, 1, -#3][[1, 1]] &[Pi, 1, 11]