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.
use sprintf
sprintf("%01.2f", $var);