Hi, I have another question. I have a big number something like 200308091234562. I would like to appeal to indicated parts. To other calculations.
So I would like to have something like this from this big number.
A = 2003 B = 08 C = 09 D = 123
Which funtion should I use. Thank You.
No products are associated with this question.
If 200308091234562 is a double:
d = 200308091234562 A = floor(d / 1e11); B = rem(floor(d / 1e9), 100); C = rem(floor(d / 1e7), 100); D = rem(floor(d / 1e4), 1000);
If the value is a string:
s = '200308091234562' A = s(1:4); B = s(5:6); C = s(7:8); D = s(9:11);