Aguirre
(Aguirre)
November 28, 2022, 9:57am
1
Hello.
My problem is that from a web I extract (“999912211280001”) and this number I need to put it in a loop to add 1 to it in each turn.
I can’t add the 1 to it, I extract and convert it, but it doesn’t add, I have it as a BIGINTEGER
any ideas??
Thanks
Hi @Aguirre ,
Your output will be? Can you share me the sample output.
Thanks!
Yoichi
(Yoichi)
November 28, 2022, 10:05am
3
Hi,
How about to use Decimal.Parse as the following?
Decimal.Parse(yourString)+1
Regards,
1 Like
Aguirre
(Aguirre)
November 28, 2022, 10:22am
4
Hello @Yoichi and thank you very much, it works, but I have a problem. What type of variable does it assign?
I get int32 and bigint error
Aguirre
(Aguirre)
November 28, 2022, 10:23am
5
Hello, I have put a screenshot, which shows that this is the case, it would be correct, but I need to store it and I don’t know the type
Yoichi
(Yoichi)
November 28, 2022, 10:25am
6
Hi,
Can you set Decimal type? (System.Decimal)
Regards
Aguirre
(Aguirre)
November 28, 2022, 10:32am
7
Perfect @Yoichi , it was what I needed. Thanks a lot.
1 Like
system
(system)
Closed
December 1, 2022, 10:32am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.