If it is in hex and you want to convert it to base 10 then it is
$$2308_{16}=2*16^3+3*16^2+8$$
$${\mathtt{2}}{\mathtt{\,\times\,}}{{\mathtt{16}}}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{3}}{\mathtt{\,\times\,}}{{\mathtt{16}}}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{8}} = {\mathtt{8\,968}}$$
$$2308_{16}=8968_{10}$$
If it is in base 10 and you want to chang it to base16
$${\mathtt{2\,308}} \,{mod}\, {\mathtt{16}} = {\mathtt{4}}$$ the last digit is 4
$${\frac{{\mathtt{2\,308}}}{{\mathtt{16}}}} = {\frac{{\mathtt{577}}}{{\mathtt{4}}}} = {\mathtt{144.25}}$$
$${\mathtt{144}} \,{mod}\, {\mathtt{16}} = {\mathtt{0}}$$ the second last digit is 0
$${\frac{{\mathtt{144}}}{{\mathtt{16}}}} = {\mathtt{9}}$$ the third last digit is 9
$$2308_{10}=904_{16}$$
check
$${\mathtt{9}}{\mathtt{\,\times\,}}{{\mathtt{16}}}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{4}} = {\mathtt{2\,308}}$$
.