Varios tipos de redondeos
Valor inicial=499.97782532221737Math.round(499.97782532221737)=500parseInt(499.97782532221737)=499Math.round(499.97782532221737*100)/100=499.98parseInt(499.97782532221737*100)/100=499.97