Purchase order tax amount get Rounded

Hello, I want to apply purchase order child table Purchase Taxes and Charges in add one checkbox custom_rounded_amount now i want to when that checkbox check it all taxes amount get rounded only it one row in
ex:
Child table in data come


it in added checkbox in only first row checkbox check that time only that one row all amount how to get in rounded