Yes, there is a reason. The clue should have been the famous $\color{blue}{744}$ hiding at the side of $x=12288\color{blue}{743.98}.$
There are 9 fundamental discriminants $d$ with class number $h(-d)=1$, but there are 4 non-fundamental ones. Hence, the j-function is also an integer for these, namely,
$$\begin{aligned}
j(\sqrt{-3}) &= 2\cdot 30^3\\
j(\sqrt{-4}) &= 66^3\\
j(\sqrt{-7}) &= 255^3\\
j\big(\tfrac{1+\sqrt{-27}}{2}\big) &= -3\times 160^3\\
\end{aligned}$$
Thus, the last one explains your question on,
$$e^{\pi\sqrt{27}} \approx 12288743.984 \approx3\times160^3+743.984$$
You can calculate the j-function using this WolframAlpha command. There are of course other discriminants $d$. For example, the prime-generating polynomial,
$$P(n) =6n^2+6n+31$$
is prime for $n = 0\; \text{to}\; 28$. It has discriminant $d = b^2-4ac = -708 = -4\times177$. And a quick check with Class Numbers shows it has $h(-708) = 4.$ And we have,
$$e^{(\pi/6)\sqrt{708}}= 1060^2+9.999929\dots$$
The fact that the “excess” is close to 10 (and not 744) means the integer part does not involve the j-function, but a related function. There are many others. See also “Prime-Generating Polynomials”.