NestList[RotateLeft, IntegerDigits[19], 1]
FromDigits[%]
(* WRONG *)
NestList[RotateLeft, IntegerDigits[197], 2]
FromDigits[%]
OK
Looks like a bug in 10.2 under windows?

Or is it I misunderstood something when there are only two digits??

NestList[RotateLeft, IntegerDigits[19], 1]
FromDigits[%]
(* WRONG *)
NestList[RotateLeft, IntegerDigits[197], 2]
FromDigits[%]
OK
Looks like a bug in 10.2 under windows?

Or is it I misunderstood something when there are only two digits??

As noted in the comments this behavior follows from the definition of FromDigits, though I only understood this myself within the last year or two when someone* used it to boost performance.
Consider a symbolic example:
sym = FromDigits[{a, b, c}]
sym /. {
a -> {a1, a2, a3, a4, a5},
b -> {b1, b2, b2, b4, b5},
c -> {c1, c2, c3, c4, c5}
}
10 (10 a + b) + c{10 (10 a1 + b1) + c1, 10 (10 a2 + b2) + c2, 10 (10 a3 + b2) + c3, 10 (10 a4 + b4) + c4, 10 (10 a5 + b5) + c5}
Note that the evaluation of the expression sym threads over the substituted lists due to the properties of Times. Therefore these operations are also equivalent in output:
FromDigits /@ {{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}, {a4, b4, c4}, {a5, b5, c5}}
FromDigits[{{a1, a2, a3, a4, a5}, {b1, b2, b3, b4, b5}, {c1, c2, c3, c4, c5}}]
{10 (10 a1 + b1) + c1, 10 (10 a2 + b2) + c2, 10 (10 a3 + b3) + c3, 10 (10 a4 + b4) + c4, 10 (10 a5 + b5) + c5}
The performance of the two methods on long lists of short integers can be orders of magnitude apart however:
big = NestList[RotateLeft, IntegerDigits[12345], 5000];
(r1 = FromDigits /@ big) // Length // RepeatedTiming
(r2 = FromDigits[big\[Transpose]]) // Length // RepeatedTiming
r1 === r2
{0.0025, 5001}{0.0000953, 5001}
True
* I thought it felt longer but I believe I am recalling this answer by rasher/ciao:
FromDigits[big\[Transpose]], no matter how impressive that is. Would you elaborate?
– rcollyer
Jul 21 '15 at 17:15
10 (10 (10 a + b) + c) + d , with each of the a,b,c,d being lists you get from Transpose.
– george2079
Jul 21 '15 at 17:44
(Thread[f[big]] /. f -> FromDigits) work, but not (Thread[FromDigits[big]] ). I keep reading the docs for Thread for the part where it says it behaves differently depending on the function.
– george2079
Jul 21 '15 at 18:02
Thread doesn't hold its argument therefore you would need Thread[Unevaluated @ FromDigits @ big] I believe, or FromDigits will act first.
– Mr.Wizard
Jul 21 '15 at 18:04
FromDigits[{{1, 9}, {1, 2, 3, 4}}]. I'd useFromDigits /@ {{1, 9}, {9, 1}}. – ilian Jul 21 '15 at 16:44FromDigitsdoesn't have the listable attribute so it doesn't automatically map over lists like some other functions do, which might be why it's confusing. – N.J.Evans Jul 21 '15 at 16:49FromDigits[{list, n}]raises the number created fromlistton, and in this case, whennis a list itself, e.g.FromDigits[{{1, 9}, {1, 2, 3, 4}}], you get{19/10, 19, 19^2, 19^3}. – rcollyer Jul 21 '15 at 16:50FromDigits[{{a,b}, n}]returns10^(-2 + n) (10 a + b)where2comes from the number of digits present in{a,b}. Does that help? – rcollyer Jul 21 '15 at 19:49