Sending integers from one arduino to another

I’m trying to send integer values from one arduino to another - i’m sending a decimal and on the receiver i am not receiving a decimal…

i’ve tried declaring my readIn as char and int, and i have tried (int)

any ideas?

Split the int into two bytes, either by rolling the bits 8 steps or by pointing the int to the beginning of a byte-array.

or you can do it like this:

Serial.print(lowByte(intValue), BYTE);
Serial.print(highByte(intValue), BYTE);