home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / 8024 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!noc.near.net!nic.umass.edu!titan.ucc.umass.edu!dtodd
  3. From: dtodd@titan.ucc.umass.edu (David M. Todd)
  4. Subject: Re: AREV MULTIVALUE Symbolics
  5. Message-ID: <By4G07.1Jq@nic.umass.edu>
  6. Keywords: AREV MULTIVALUE SYMBOLIC
  7. Sender: usenet@nic.umass.edu (USENET News System)
  8. Organization: University of Massachusetts, Amherst
  9. References: <By038z.4qA@resntl.bhp.com.au> <By2H5w.Dr7@nic.umass.edu> <cpetersn.722406918@vincent2.iastate.edu>
  10. Date: Sun, 22 Nov 1992 14:24:06 GMT
  11. Lines: 24
  12.  
  13. In article <cpetersn.722406918@vincent2.iastate.edu> cpetersn@iastate.edu (Clifton R Peterson) writes:
  14. >This should be as simple as using the following oconv[ersion]
  15. >
  16. >"MD02" 
  17. >
  18. >which displays zero decimal points but divides the number by 100 before
  19. >applying the zero decimal place rule.
  20. >
  21. >Clif
  22.  
  23. Right you are--almost.  Should be "MD20".  And it does work on
  24. multivalues.  I remember struggling with "scale" (the last digit in
  25. the conversion) when I was trying to figure out how to round off
  26. numbers.  I never figured out that 0 would maintain the decimal
  27. position from the original value.  This is such a common operation
  28. that it should at least be clearly and explicitly documented and
  29. indexed.
  30.  
  31. Thanks Clif.  I can simplify some of my routines now.
  32.  
  33.  
  34. |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ David M. Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  35. |Department of Psychology, University of Massachusetts, Amherst, MA 01003 USA|
  36. |Phone: 413/545-0158 ___ <DTodd@Titan.ucc.UMass.EDU> _____  Fax: 413/545-0996|
  37.