<?php $price = 9987536453; $last_digit = $price[-1]; $price = substr_replace($price, "", -1, 1); $price = chunk_split($price, 2, ",").$last_digit; echo $price;
You have javascript disabled. You will not be able to edit any code.