Re: four questions about formatting of numbers ...
Morten Welinder <[email protected]> Fri, 13 May 2022 16:54:29 -0400
| Newsgroups | gmane.comp.gnome.apps.gnumeric |
|---|---|
| Message-ID | <CANv4PNm3jWQK94YayOT=5F7UgyqB1fg4cUp5Q636ox2rrqPaLQ@mail.gmail.com> |
See "man -s3 printf". The GNM_FORMAT_ part simply adds the "L" modifier when long doubles are in play in addition to the g/G/e/G/f/F. "E" vs "e": most places it doesn't matter, but for user visible places it is a matter of tradition and Excel compatibility. Why 2+ digits for exponents? Don't know -- probably history and tradition. If you don't like the extra "0", it's an easy and clean post-process step to remove it.