Transmitting An int Over 433Mhz RF Transmitter/Reciever

I am very new to Arduino but I am working on a project where I am reading the temperature off of a TMP and then transmitting it through a 433Mhz RF Transmitter. I did a lot of researching on transmitting and the programming for transmitting. I finally downloaded the RadioHead library, but it only transmits a const char, which won't work for my project. Is there a way I turn a float into a const char, or is there a different library anyone can recommend that transmits regular char, or even better float or int? Thank you in advance.

Waiting for the optimum answer, think like this. Convert Your data to an ASCII string and transmit the characters one by one. Using a Cr or Lf as delimiter character could end the data.

mistake

it only transmits a const char

Not true. The RadioHead library transmits a number of bytes, which can be anything you like. Use a cast to satisfy the type requirements. To send a two byte integer, start with the simplest transmit example (ask_transmitter.pde), namely

    const char *msg = "hello";
    driver.send((uint8_t *)msg, strlen(msg));

and modify it as follows:

    int x = 12345;
    driver.send((uint8_t *)&x, 2);

Thank you so much