I have a small issue with the final value, i need to round to 2 decimals.

var pri='#price'+$(this).attr('id').substr(len-2);
            $.get("sale/price?output=json", { code: v },
               function(data){
                 $(pri).val(Math.round((data / 1.19),2));
            });
        });

Any help is appreciated.

Solution: $(pri).val(Math.round((data / 1.19 * 100 )) / 100);

Edit
Report