Varios tipos de redondeos


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