I have code that takes an initial guess for a set of parameters to use in a function that I want to minimize, calculates the function, prints the value, recalculates new parameters via the gradient descent method, recalculates the function, prints it, and so on.
This is what my output looks like:
I don't mind it, I'm just curious as to when Mathematica decides it should use scientific notation and when it thinks regular notation is fine. At first sight, it seems random.
MWE not necessary because this is not a question related to code.
Edit: Sorry for the huge image. I've replaced it with a smaller one.
NumberForm[]
with itsScientificNotationThreshold
setting if you want more control. $\endgroup${97170., 97170.`5, 97170.`4}
. $\endgroup$NumberForm
. $\endgroup$