title: LCD show different float number
body: <p>I'm developing system that will showing output on LCD. <br/><br/>
  I declare variable data type as float, but the LCD display showing <b>0.00</b> that I don't initialize, because I declare it with <b>0.0</b><br/><br/>
  I want the LCD display showing <b>0.000</b>, but whatever I try to change the initialize value the LCD Display always showing <b>0.00</b>
  .So, how I can make the LCD Display showing <b>0.000</b><br/><br/>
  <a href="https://lh5.googleusercontent.com/-5A6mLbGHJtE/U_a4_ui-DHI/AAAAAAAAA64/bPgO9HVNjNI/w480-h360-no/lcddd.jpg" rel="nofollow">This is the link for the image</a><br/>
  Below are my code:<br/></p>
  
  <pre><code>#include &lt;LiquidCrystal.h&gt;
  
  volatile int NbTopsFan;
  float flowrate = 0.0;
  float volume = 0.0;
  int hallSensor = 2;
  
  
  LiquidCrystal lcd (12, 11, 9, 8, 7, 6);
  void rpm() {
    NbTopsFan++;
  }
  
  void setup(){
    pinMode(3, OUTPUT);
    pinMode (hallSensor, INPUT);
    Serial.begin (9600);
    attachInterrupt (0, rpm, RISING);
  
    lcd.begin (16, 2);
    lcd.clear ();
  }
  void loop (){
    digitalWrite(3, HIGH);
    NbTopsFan=0;
    sei();
    delay(1000);
    cli();
    flowrate = NbTopsFan / 7.5;
    volume += (flowrate / 60);
  
  
  
    lcd.clear ();
    lcd.setCursor(0, 0);
    lcd.print("flow :");
    lcd.print(flowrate);
    lcd.print("L/m");
    lcd.setCursor(0, 1);
    lcd.print("VOl :");
    lcd.print(volume);
    lcd.print("L");
  
    Serial.print("Pulse");
    Serial.print(NbTopsFan);
    Serial.print(flowrate);
    Serial.print("L/m");
    Serial.print(volume,4);
    Serial.print("liter");
  }
  </code></pre>