system
#1
Hello. Is there a way to append an int to the end of another? Not sure if I made sense there, but lets say I have two integers:
int one = 11;
int two = 22;
I want to "add" them together so I end up with the number 1122
Is there a way to do this, or will I have to convert them to Strings, add them, and then convert that back to an integer?
system
#2
How about:
one*100 + two
--
The Quick Shield: breakout all 28 pins to quick-connect terminals
system
#3
Wow. RuggedCircuits, you're a genius! There might be a problem if I don't know how many digits there are. But it's fine for what I'm currently doing.
Thanks!
system
#4
There might be a problem if I don't know how many digits there are
But it's such a little problem, solved with a simple comparison, or series of comparisons, e.g.
= 10
= 100
= 1000
= 10000
(for an "int" on an Arduino, you don't need to go further)