While reading a mini-bio about Ramanujan, there was an equation that I found somewhat intriguing:$$e^{\pi\sqrt{58}}=24591257751.99999982\ldots\tag1$$ This is interesting in the way that $e^{\pi\sqrt{58}}$ is very close to $24591257752$, and how Ramanujan managed to calculate such a large number back when computers didn't exist! Others include \begin{equation}35\sqrt{\pi}\ln 2=42.9999986\ldots\tag2\\ 51\ln(36\pi)-2e^\pi+\sqrt[4]{21}=196.99999991695\ldots\\ e^{{\frac \pi 4\sqrt{102}}}=800\sqrt3+196\sqrt{51}\\\vdots\end{equation}
And there are much more. So, I'm wondering:
Main Question: Is there some sort of formula, trick or follow-through that you can use that enables you to calculate other fascinating $e$ equations that are very close to an integer?
Note: I'm not the best at mathematics. In fact, I haven't even started Calculus yet. I would love it if the answer also had a detailed description of how you solved this.