add code to check if the float is negative, if so print a minus sign to the LCD and convert the float value to a positive number, then use your exisitng code.
mem, I think that approach will fail for values like 2.045. It would skip the zero and print "2.5", which is quite different.
May I remind you of an earlier post of your own, http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207226548/1#1 where you give a suitable lightweight replacement to libc ftoa(). Igor, read down that thread, as the conversation covered this very issue and more.
Thinking how I can resolve my problem, without change a lot my code, I´ve have done this. With this I resolve "-" problem, and "0" because I always use only two decimals. It works!!
//... previous code
float fbar;
// APROXIMACIÓN POLINOMIAL ORDEN 3
fanalog5=fanalog5/1000;
fbar=(fanalog5)(fanalog5)(fanalog5)(-4.842)+(fanalog5)(fanalog5)(39.692)-(fanalog5)(122.44)+171.18;
Yes, Igor, this is a fine solution for your current needs, although a bit limited and inflexible. If you wanted three decimals it would be another "if x < 100 print a zero" statement. Glad you worked this out.