See attached screen shot. The variable a is nonzero, but displays in the debugger as zero, even in scientific notation. I think this is a bug, right? Or am I missing something?
I’d call that a bug.
2 Likes
Well… as you can see from your conversion to text, the format string matters. Try using ToString with no format string and see what you get.
The debugger can do better.
I’ve a bug report about this sort of issue:
Debugger shows incorrect values for Singles and Doubles in the variables panel
https://tracker.xojo.com/xojoinc/xojo/-/issues/72805
I’m the only person signed on to it. Please add if it affects you.
Just added .