rf communication - send variable

if I wanted to send a variable, such as temperature (temp) of type float, how should I do?

As a string or as binary data? Different processes, depending on your answer.