Wrte variable to touch screen

Does anyone know how to write a variable, (changing number) to the screen?
I tried Tft.drawString( *** ,20,60,2,YELLOW); where *** = a changing number.
That didn’t work. The code to get it out the serial port it would be
Serial.print(inches); where *** = (inches), a declared variable.
Any ideas? Thanks

Try drawNumber instead of drawString?

Tft.drawNumber(long long_num,unsigned int poX, unsigned int poY,unsigned int size,unsigned int fgcolor)

Or for floating point numbers:

Tft.drawFloat(float floatNumber,unsigned char decimal,unsigned int poX, unsigned int poY,unsigned int size,unsigned int fgcolor)

Mikester
Thanks for the suggestion. I’ll look in the code. I don’t think there is a Tft.drawNumber in TFT.h or TFT.cc

As for the rotation of the screen the tft driver documentation says that the chip can do it. I don’t think it is implemented in the library. If you look at the adafruit library the implementation is different. It has a different chip but it is code compatible. They are giving the same comands to thier chip. Further investigation is required.
Later
Jeff
ps it’s Write not Wrte