Hi John, instead of decimals use true hex (has 15 "digits") OR, very effective, "dadaNumbers" (my youngest daughter named this) you may use e.g. n=48 or n=65 function dec2dada dc,n return numToByte(n+dc) end dec2dada function dada2dec hx,n return byteToNum(hx)-n end dada2dec