I have very large number. I have to operate first n digits from left.
Is there a command in Mathematica that will give n digits of a given number something like xxxxx[123456789, 5]=12345?
IntegerPart[N[number/10^n]]is generating internal errors.
I have very large number. I have to operate first n digits from left.
Is there a command in Mathematica that will give n digits of a given number something like xxxxx[123456789, 5]=12345?
IntegerPart[N[number/10^n]]is generating internal errors.
Try
RealDigits[].