Question regarding LCD5110 lib

Hi all,

I'm sure this is a very simple question with a simple answer and I am just being stupid - but I am trying to display a float value on a 5110 LCD but I'm not sure how it should be coded -

myGLCD.print(val, CENTER, 42); returns a error?

The library is

returns a error?

Are you asking us, or telling us? If the latter, what is the error?

The first parameter needs to be a string. What type of variable is val in your code ?

You could try using printNumF() instead