Round off of calculated field

Hi
The below script will calculate the 15% of the received amount from customer to a custom field “gst_ledger_amount”. But it is returning the fraction values. I need the result to be rounded to nearest integer.

Thank you

function compute(doc, cdt, cdn){
{ if(doc.payment_type == “Receive”)//it’s check if the fields contains a value
doc.gst_ledger_amount = doc.paid_amount - (doc.paid_amount / 1.15);
}
}
cur_frm.cscript.custom_paid_amount = compute;