DEV Community

Required Solution

Vishnukant MUle on July 03, 2022

I want to concatenate two integers and make it third integer
suppose Input:

a=10;
b=34;

output:
c=1034

like this I try to find best solution on this but i got only 2 int to string solution

Collapse
 
pgradot profile image
Pierre Gradot

c = a*100 + b ?