Decimals handling in PHP

PHP Round Off Decimal or Convert to Decimal Point
Round Off Decimal
Round a number up or down or Round off a floating decimal point number using PHP’s functions round().
Example. round();

 
 

<?php
echo round(3.4); // 3
echo round(3.5); // 4
echo round(3.6); // 4
echo round(3.6, 0); // 4
echo round(1.95583, 2); // 1.96
echo round(1241757, -3); // 1242000
echo round(5.045, 2); // 5.05
echo [...]

Multiple HTML Input Elements with same name in JavaScript, ASP and PHP

Hi,
Some times we came around a tricky situation where we have to use multiple html input elements with same name in our pages and need to tackle them with JavaScript (in client side) or ASP and PHP (server side).
Suppose we have multiple text area elements in a HTML page. The name of these text areas are [...]