Is there any alternative built in function to do the same job of the follow:
$price = round($price,-(strlen(ceil($price))-2));
for example:
$price = 1485;
echo $price = round($price,-(strlen(ceil($price))-2));//output 1500
$price = 148;
echo $price = round($price,-(strlen(ceil($price))-2));//output 150
As far as I know, there is no such built-in function.
However, you might shorten the term as follows: