title: Is there a way to compare two variables in Template Toolkit?
body: <pre><code>[% IF OrgType.id == Organization.org_type_id %]selected="selected"[% END %] 
  </code></pre>
  
  <p>Does not work even when they both evaluate to the same number. </p>
  
  <pre><code>[% IF OrgType.id == 3 %]selected="selected"[% END %] 
  </code></pre>
  
  <p>(i.e. hard-coding in a number for testing purposes) does work. </p>
  
  <pre><code>[% OrgType.id %] and [% Organization.org_type_id %] 
  </code></pre>
  
  <p>both print "3" on the page. </p>