09-03-2016 06:16 PM
I'm losing sig figs while logging.
Is there a way to write floats without scientific notation or change the number of significant figures?
Solved! Go to Solution.
09-07-2016 04:59 AM
Could you please clarify what you mean by "logging". I'm assuming it's in the context of Spatial Modeler? If you could provide an exampe model of what you're trying to do we should be able to point you in the right direction.
09-07-2016 06:53 PM - edited 09-07-2016 06:56 PM
... 07/09/16 18:39:16 SessionMgr(2508): 6.01338e+006 07/09/16 18:39:16 SessionMgr(2508): 6.01342e+006 07/09/16 18:39:16 SessionMgr(2508): 6.01346e+006 ...
As such, my values are being rounded to the nearest ten-feet, which could make some points seem like dupes.
What I expect are values like:
6013389.654 6013411.465 6013450.687 6013450.874
09-08-2016 05:43 AM - edited 09-08-2016 06:18 AM
Does this work for you?:
The Session Log isn't really intended as a mechanism to store actual results - just as a means to track progress. If you want the full precision information just write it to a Table (or use it directly within the larger model). I've also attached the model as shown here. And the full precision results in the Table look like this:
09-08-2016 06:20 AM
The Report probably should show the full precision. But it's still not something you can easily get the information back out of in a machine-usable form. We've been having several discussions here centered around the need to dump a bunch of numbers out of a model to something like a CSV file. I suspect you'll see that come along relatively soon.