Posts: 318
Threads: 21
Joined: Oct 2013
Reputation:
0
08.02.2015, 11:00
(
Последний раз редактировалось Max_Andolini; 08.02.2015 в 20:44.
)
Strval maximum 10 digit 32 bit cell (cellmax = 2147483647) but I want to be 11 digits.
How can I solve this?
Posts: 256
Threads: 1
Joined: Aug 2014
Reputation:
0
Divide your number into two or more variables, unless you want to make your own big numbers operations system, based on arrays. Each array slot will save one digit of your number. For example, 268 can be stored in a variable x = 268, but can also be stored in an array like this:
sizeof(array) = 3;
array[0] = 2;
array[1] = 6;
array[2] = 8;
Posts: 256
Threads: 1
Joined: Aug 2014
Reputation:
0
Dude, even if it is possible to find a workaround (and it is possible), find a way to lower that value.
Posts: 318
Threads: 21
Joined: Oct 2013
Reputation:
0
Thank you to everyone, I solved the problem.
Posts: 515
Threads: 5
Joined: Jun 2007
Reputation:
0
Don't remove your posts, this could have helped others if they are having similar problem...