home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!wab1
- From: wab1@ns1.cc.lehigh.edu (WILLIAM ANTHONY BARRY)
- Newsgroups: comp.lang.pascal
- Subject: writing doubles with smaller exponents?
- Message-ID: <1992Sep13.152625.272999@ns1.cc.lehigh.edu>
- Date: 13 Sep 92 15:26:25 GMT
- Organization: Lehigh University
- Lines: 12
-
- Hello,
- Does anybody know of a simple way to write doubles in exponential
- format with 1 or 2 digit exponents instead of the standard 4 digits. I know I
- could create a strng and edit it but it seems like there should be a more
- standard way of specifying the length of the exponent just as you can specify
- the overall length of the number (i.e. x:12). For a number in decimal format
- you can specify the number of digits after the decimal and the overal length
- of the number, why can't you do similar things with numbers in exponential
- format? Any help would be appreciated.
- Bill Barry
- --
- <Bill Barry | wab1@ns.cc.lehigh.edu>
-