e.g.
Code: Select all
a.d = 1e-34
Debug a
Code: Select all
OpenConsole()
a.d = 1e-34
Print(StrD(a))
Input()
Code: Select all
a.d = 1e-34
Debug StrD(a, 34)
Because clearly it's not a bug. Make your request in the "Feature Requests and Wishlists" section of the forum.Klaus_1963 wrote:I can't understand, why moving from bugs!
This only works, if we know beforehand how many digits have to be displayed. It is the case in this example, but normally we do not know the result beforehand ( that's the reason why we want to display itluis wrote:Code: Select all
a.d = 1e-34 Debug StrD(a, 34)
Missing output in scientific format is no bug IMHO.Klaus_1963 wrote:I can't understand, why moving from bugs! in nearly every other programming language you can view small numbers without counting zeros... (analoge to very huge numbers...).
That was for addressing his "does not work" in reply to Fred's suggestion.Little John wrote:This only works, if we know beforehand how many digits have to be displayed.
No, IMHO that's not another story. StrD(a) should give the correct result (if possible). Not doing so is a bug.luis wrote:The StrD() doc says its default are 10 decimal places.
It's a very bad idea, I'm totally against this "10" default, but again that's another story -> http://www.purebasic.fr/english/viewtop ... =3&t=53614
Please let me quote, errm ... you.luis wrote:About the bug.
It would be a bug if PB was behaving in a way different from what documented.
[u]luis[/u] wrote:To me this is a bug, I don't care if the docs says differently.
Yes. And if you read the rest I wrote: -> http://www.purebasic.fr/english/viewtop ... 63#p421863Little John wrote: Please let me quote, errm ... you.
[u]luis[/u] wrote:To me this is a bug, I don't care if the docs says differently.
I'll explain it in a easily understandable way, concentrate:luis wrote:Again, formally, since the behavior is documented (even if objectionable) this should be made as a feature request.