# How do I get a list of digits for a number?

I have this 200 digit number where I want to get the IntegerDigits, but the decimal point is in the way.

5.9786377666105440959755656271823065138015646836250389374946790881539\
7157216930920631092404062126177741432101097347028242720848122219396854\
08452395344964186804


What do I need to do to strip the decimal point to get a list of the digits?

• Do you know RealDigits ? – Artes Nov 26 '12 at 15:51
• Artes, I'm new around here so please forgive the question but why didn't you simply put that as an answer? Is there a preference for comments rather than answers? – WalkingRandomly Nov 26 '12 at 16:02
• @WalkingRandomly, No you are completely right but sometimes (older) member just give a short comment, because they don't need the reputation. – halirutan Nov 26 '12 at 16:05
• @WalkingRandomly I think this question is appropriate for users with lower reputation. If you are interested in some more advanced problems with RelaDigits look at this question : mathematica.stackexchange.com/questions/6323/… – Artes Nov 26 '12 at 16:06
• @WalkingRandomly Well, this is not pure altruism, I believe. I think most high-rep users would agree that we need as many skilled M users to quickly get the rep. and associated privileges, as possible, to help manage our fast-growing community. In some sense, our survival as a community (preserving its culture, purpose, ways of communications etc) crucially depends on this, in the long-term at least. – Leonid Shifrin Nov 26 '12 at 16:19

What you are looking for is the function RealDigits
RealDigits[5.978637766610544095975565627][[1]]