I have one page which is having bank funds summary details and i am getting all these value from API. These values are not formatted for example like 50000.3645656.
So here is my page structure given below
<span class="format">50000.3645656</span>
<span class="format">50000.3645656</span>
<span class="format">50000.3645656</span>
<span class="format">50000.3645656</span>
<span class="format">50000.3645656</span>
So what i want exactly is , I want to format all these value with comma formated with two decimal point like 50,000.36.
How can i do this after page load using jquery and css class format in jquery method.