I am using Expression Language (EL) in
JSP.
As you see I am calculating no of pages required to display x no of results per page.
This doesnt work all time since at line 2 ie formatNumber tag is rounding of my division results.(which i dont want to get round)
ie for 73 records 20 per page needs 4 pages buts i m getting result 5. because at line 2 it is rounding of result 3.65 to 4 but i want noOfPagesRounded=3.
How should I convert float or double value in int without round of?