<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<p>
Click the <b>Get Precision</b> button to output the number of decimal places
to show after the decimal separator under the component.
</p>
<button onclick="getFormat()">Get precision</button>
<div id="pivot-container">The component will appear here</div>
<div class="output" id="output">Output will appear here</div>