Basically, drawmack's idea is to declare a function that replaces every comma in a given comma-grouped numeric string with a blank, effectively removing them.
function smart_intval($num) {
return str_replace(',', '', $num);
}
then one would apply this function, e.g.
$num = smart_intval($results['xxxxx'][0]);