title: Javascript document.getElementByID with condition
body: <p>I'm reading from a text file some numbers. Sometimes there's a number 0 and the line below outputs 0, but I don't want to output if the number is "0". Is there a way to change the line below to NOT output/print when the number is "0"? Thanks</p>
  
  <pre><code>document.getElementById('inputText').innerHTML= "(" + parseFloat(output1*2).toFixed(3) + "," +  parseFloat(output2*2).toFixed(3) + ")";
  </code></pre>