     
    </div>

    <div class="description">
        <p>Extract the number from an attribute&#39;s value.
For example getNumber(&quot;8px&quot;); will return 8.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attr</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/