Im new to java and I want to convert months to years. For example, If i had 18 months and divided that by 12, I would have 1.5 years but I want it as 1year and 6months.

Thanks for your help.

Edit
Report