Hello all
Did everyone know a troubleshooting to display a number superior than 1 million without the scientific notation ?
In fact, the text return by TOC verb is always in scientific notation and my clientwould like to have it in his text with all the zeros.
BR
Hello,
I had a similar problem with a project, but I don't remember which one...
It's written in he help, that TOC instruction uses the scientific notation.
The workaround I applied was to use FORMAT instruction.
sub main()
Dim i as double;
Dim t as str;
i = 12345678901234;
t = toc(i);
print("toc : ", t);
t = ltrim(format("%0.0f",i));
print("format : ", t);
end sub
OK thanks Florent
This topic can be closed 😉
Loic, if it's closed please change the Icon with the good Smiley


