pan><span class="p">:</span>
                        <span class="c1"># If the value is a number</span>
                        <span class="n">value</span> <span class="o">=</span> <span class="nb">float</span><span class="p">(</span><span class="n">current_value</span><span class="p">)</span> <span class="k">if</span> <span class="n">numtype</span><span class="o">.</span><span class="n">str_is_float</span><span class="p">(</span><span class="n">current_value</span><span class="p">)</span> <span class="k">