Smarty Help For Document Editing

Can anyone help me with syntax for hiding the tax line from my order summary document when no tax is charged?

{% if o.tax_total %} {{o.tax_name}} {% endif %}
{% if o.tax_total %} {{o.tax_total}} {% endif %}

in the example above, I tried to use the "if" statements that were used for the discount lines below. I did not expect it to work because there is always a value in that data field. But I've tried using a statement such as "{% if o.tax_total != '$0.00'%}" and it doesn't work. I've never tried programming PHP or Smarty code and don't know anything other that what is quickly referenced on the Web. I assume this is a simple syntax thing. Any help will be appreciated.

Please try

{% if o.tax_total != '0.00' %}

Thanks for the quick reply, eComLabs! Unfortunately, this doesn't work. It seems the only difference in my attempt and yours is the removal of the "$" I don't see anywhere in the order summary doc where that would be inserted, so I assume that is part of the database entry--presumably as part of a text field. If I put the dollar sign into that field, as in, "{% if o.tax_total != '$0.00' %}", I get this error message: "Error Expected name or number at line 81". Is the "$" a special character that needs to be noted a certain way?

Thanks for the quick reply, eComLabs! Unfortunately, this doesn't work. It seems the only difference in my attempt and yours is the removal of the "$" I don't see anywhere in the order summary doc where that would be inserted, so I assume that is part of the database entry--presumably as part of a text field. If I put the dollar sign into that field, as in, "{% if o.tax_total != '$0.00' %}", I get this error message: "Error Expected name or number at line 81". Is the "$" a special character that needs to be noted a certain way?

Disregard the error message that I referenced above. That was a result of experimenting with the tag: "{{ o.taxes.[0..N] }}"