<?php
$num = '4,063,500.99';
echo intval(str_replace(',', '', $num));