home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5363 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.0 KB

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