title: "unnecessary string to number conversion" in ksh script
body: <p>I'm doing some scripting in the Korn shell, and I can't work out how to avoid the warning "variable expansion requires unnecessary string to number conversion". My code is as follows:</p>
  
  <pre><code>#!/bin/ksh
  testnum=04
  (( $testnum == 4 ))
  </code></pre>
  
  <p>The error's being spotted on that third line. I've tried adding <code>integer testnum</code>, but that appears to make no difference.</p>