General area when it fits no where else

Moderator: Mmiscool

User avatar
By Nick McBride
#35772 OK, maybe I'm being thick, but I'm trying to use the SENDTS function to send off some data to a ThingSpeak channel.

I have a variable "tempF" that is a decimal, which would look like 72.5. My SENDTS function looks like this:

SENDTS("APIKEYHERE",1, tempF) but this doesn't work. If I use SENDTS("APIKEYHERE",1, "1"), I'll get a 1 in the channel.

So how do I convert the floating point to a string, or get ThingSpeak to take it as is?