@
Informatix,
I agree at all with you.
But I don't care whether it's a B4A problem or not.
Anyway, for me, B4A is an awesome tool.
I can choose several workarounds to get back the right result.
I'm trying to understand which policy there is behind the Log function.
I will explain myself better.
As in the post #5 and #7, in Log(m), I'm passing the radix only.
If I understand well, Log is looking inside m for any field, and then, transform it into a string.
So if Log is searching by itself for a value inside a class, it will show the correct one.
Instead, if I pass a full name of a field (Log(m.F)) it will show what isn't correct. (5.550000190734863)
I could understand 5.56 or 5.54 as rounded values but not that "dirty" number.
Even the conversion, as you said, is not straightforward, let me say that this is a bit strange.
Regards
Saverio