I have N[Sqrt[2], 8] which outputs 0.4142136
How do I get the 4142136 part out of it? I tried RealDigits[N[Sqrt[2], 8] - Floor@Sqrt[2]][[1]] but because in the solution above the last digit was rounded up (0.41421356), it doesn't come out the same : {4, 1, 4, 2, 1, 3, 5}
4142136or a string"4142136"or is a list like your last output OK? $\endgroup$