Ver originalprivate function comprobar($cantidad){ $temp=(1+(intval($cantidad/100)))*100; return $temp<8001?$temp:10000; }