send data from arduino nano to node mcu

Hi, I want to send sensor value from arduino nano to node mcu ESP8266 using software serial. If the value let is say TOS=23.45 the output is 23.00. I set float TOS and ESPSerial.write(TOS) in nano side then I write float TA and TA=ESPSerial.read() in esp8266 side. I try to use ESPSerial.parseFloat() but does not work. Please any advise to be apply in nano side and esp8266 to get the right output.

THANX,

Do you think it would help the forum if you posted the code you are using and provided a bit more detail on 'but does not work' ?

write() writes one byte and read() reads one byte (or -1 if no byte is available)

use print and scan functions

Juraj:
write() writes one byte and read() reads one byte (or -1 if no byte is available)

use print and scan functions

Juraj:
write() writes one byte and read() reads one byte (or -1 if no byte is available)

use print and scan functions

I send several pieces of float numbers using Serial.print() instead of Serial.write() and it is working well.

Thanks to you and to Robin2.