trying to set up a value formatted to cut all off on the right side of the decimal point
<td width="15%" align="right">
<span id="perecnt_<?php echo ($i);?>" class="tablchet" ><?php echo sprintf($currmask,0);?></s
pan>
</td>
perecntpur.innerHTML = ((1/amtstore) *amtbought) * 100 ; to display
perecntpur.innerHTML = ((1/amtstore) *amtbought) * 100 ; to display