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