Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CDD/Plus Dictionary Data Definition Language Utility SCALE — VMS CDD+_4.1A

 You can specify a SCALE as an implied exponent.  The  signed  integer
 must  be in the range -128 to 127.  The SCALE specification indicates
 the number of places to shift the decimal point  when  the  field  is
 evaluated.

 When using SCALE, note the following rules:

  o  The SCALE specification  and  the  FRACTIONS  specification  both
     indicate  how  many  digits  in  a  field are to the right of the
     decimal point.  There are, however, two important differences:

      -  The number of FRACTIONS you can specify  is  limited  to  the
         number  of DIGITS you declare for the data type.  With SCALE,
         there is no such limitation.

      -  With SCALE, you can shift the decimal point to the right  and
         to  the  left,  but with FRACTIONS, you can shift the decimal
         point only to the left.


  o  Use a positive integer in the SCALE  specification  to  move  the
     decimal point to the right.

  o  Use a negative integer in the SCALE  specification  to  move  the
     decimal point to the left.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026