Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

What is the displayformat for scientific notation

edited October 2003 in General
Hi folks,
has anyone used the 'displayformat' property to force scientific notation?
if so, what is the format string?

-Thanks
Dan

Comments

  • edited October 2003
    Hi Dan,

    I found this in the Delphi help and it tested correctly in ReportBuilder.
    Hope this helps.

    DisplayFormat:

    Scientific notation. If any of the strings "E+", "E-", "e+", or "e-" are
    contained in the format string, the number is formatted using scientific
    notation. A group of up to four "0" characters can immediately follow the
    "E+", "E-", "e+", or "e-" to determine the minimum number of digits in the
    exponent. The "E+" and "e+" formats cause a plus sign to be output for
    positive exponents and a minus sign to be output for negative exponents. The
    "E-" and "e-" formats output a sign character only for negative exponents.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.