title: Is this a valid Hex value?
body: <p>I'm reading a series of Hex values, reading the value `0x03B6 using the code :</p>
  <pre><code>Integer.parseInt(&quot;0x03B6&quot;,16);
  </code></pre>
  <p>results in exception :</p>
  <pre><code>Exception in thread &quot;main&quot; java.lang.NumberFormatException: For input string: &quot;0x03B6&quot;
  </code></pre>
  <p>If however I remove the 0x at beginning of value the result is converted to HEX correctly :</p>
  <pre><code>Integer.parseInt(&quot;03B6&quot;,16)
  </code></pre>
  <p>Is <code>0X</code> a convention to indicate it's a hex value ? <code>03B6</code> is valid Hex ?</p>
  <p>Using a Hex calculator - <a href="https://www.calculator.net/hex-calculator.html" rel="nofollow noreferrer">https://www.calculator.net/hex-calculator.html</a> also does not recognize <code>0x03B6</code>  but does recognize <code>03B6</code></p>