I believe that you can't do both in one function. May have to write a
wrapper function which selects %e or %f depending on the number of
non-zero decimal digits you select as exceeding your digit limit.
Personally I would prefer to see a 'e ' appear after maybe 2/4 digits
> what is the C format statement for use in sprintf that will produce
> exponentials and floats depending on the size. e.g. 1e34 and 1.23
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
ncl-talk mailing list
ncl-talk AT ucar.edu
This archive was generated by hypermail 2b29 : Sun May 04 2003 - 18:47:00 MDT