hi all,
i have a number:
lets say
1124568796981831928381768678756 which is being passed to a pic x(44)(max length that i can get as an input) variable.
this number needs to be gone through a mod operation for 97.
lets say i am dividing this number in 9,7,7,7
112456687 mod 97 = 28
appending 28 with next 7 289698183 mod 97 = 20
appneding 20 with next 7 201928381 mod 97 = 86
appending 86 with next 7 867686787 mod 97 = 59
now when i try 5956 mod 97 gives me a wring result since it appnds zeroes in the right and gives me an answer.
can anyone tell me how to remove the extra spaces when i get number less than 44 chanracter and take the mod of the remaining.
help me.