length of a decimal number
<pre><code>select length('10.2') from dual;
</code></pre>

<p>I want to know the length of the number 10.2 which is 3, but in the above query it is showing 4.</p>

<p>What is the right query?</p>