Below is my code. I want to check total number of lines and divided it by 2.
Suppose total no of lines =24 then I will divide by 2 = 12 .
But when total no of lines =23 and then I will divide by 2 it gives 11 . I want 12 because actulay value is 11.5
ncnt=$((`wc -l < AMS_Total_Business_ID.txt` / 2))