Please correct me if I am wrong or out of date but last time I looked the user guide wasn't verbose in its coverage of printf. However, if you look up any discussion of the printf function (which is used in many languages), you will find all you need to format numbers any way you want.

A good start might be https://en.m.wikipedia.org/wiki/Printf_format_string

Logan

Sent from TypeApp
On Aug 26, 2017, at 12:32 AM, Artur Tarassow <artur.tarassow@googlemail.com> wrote:
Do you want to print the numbers? Then you would use:

<CLI>
scalar n = 1199092070940.21
Generated scalar n = 1.19909e+12

printf "%.3f\n", n
1199092070940.210

printf "%.3g\n", n
1.2e+12
</CLI>

Artur

Am 26.08.2017 um 04:03 schrieb Carlos Andrade:
Hello list,
In Gretl the number 1199092070940,21 appears in scientific format,
so 1.19909e + 012.
How to make Gretl display in common form?



Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users