I tried this code, but it works not!! :drooling_face:
long wWholeValue = 00000L; int wDigitOne = 5;int wDigitTwo = 5; int wDigitThree = 5; int wDigitFour = 5;int wDigitFive = 5;
wWholeValue = long((long(long(wDigitFive)*10000L))+long(wDigitFour*1000)+long(wDigitThree*100)+long(wDigitTwo*10)+long(wDigitOne));
whats the best way to achieve a the expected result?
poll: vote for the one that you think should happen next. 1) Arduino should go away with long type numbers. 2) ejahable needs to keep asking about long type numbers in this forum until he gets proficient. 3) The reference documentation for long numbers needs some tune up.