radio.write a variable

No.
You are transmitting, as binary the contents of a floating point number.
You have to receive it in exactly the same way