we are using following code to display price in frontend.

```
 <span id="valueprice_<?php echo $products->getId(); ?>"><?php echo $products->getPrice(); ?></span>
    <input type = "text" id = "price_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" "name = "price" value = "<?php echo $products->getPrice(); ?>" />

```

in frontend price is displaying as follows.
suppose if price is 100, than its displaying as 100.0000 .

after decimal points, 4 zeros [numbers] are displaying. I want to restrict to only 2 numbers after decimal point.