Adding a 0 before decimal entered in input?
<p>I'm attempting to finish up a quick form using jQuery that needs to add a 0 before a decimal point if the decimal is the first char entered in the input.</p>

<p>For example,
.25 would become 0.25 before the form is submitted.
However, 2.05 would stay as 2.05, and no 0 would be added.</p>

<p>Is there a simple function here that could help me out? I'd rather not write something long and detailed if it's not necessary.</p>

<p>Also, here is the input box that I am asking for help with, for reference</p>

<pre><code>&lt;input type="number" name="dailygain" id="dailygain" /&gt;
</code></pre>
