i have value in php variable like that
$var=\'2.500000550\'; echo $var
what i want is to delete all decimal points after 2 digits.
try with number_format:
echo number_format('2.50000050', 2); // 2.50