1.1.8 Signed

Signed fields are exact, fixed-point numeric fields with a precision (# of significant digits), and a scale (# of digits after decimal place). The scale may be 0, indicating a whole number. Signed fields store signed numbers (+/-).

Please review the general 1.1.1 Field Type Considerations.

Field Definition Rules

Rules for defining a Signed field in the repository are:

Length

Signed fields have a maximum length of 63 in an RDMLX partition and 30 in an RDML partition. Maximum number of decimals is 63 in an RDMLX partition and 9 in an RDML partition.

Valid Keyboard Shift

Blanks

Allowed Attributes

Null values are not allowed.

Edit Mask

Use of an Edit Mask (that is, an Editcode or Editword) is allowed.

Default

Zero.

 

Field Definition Notes

Usage Rules

Partition Type

RDML and RDMLX Partitions.

Files

RDML and RDMLX Files. Signed fields may be used as real fields or  keys.

Logical Views

Signed fields may be used as keys to logical views.

Virtual Fields

Signed fields may be used with Mathematical, Substring, Concatenation or Date Virtual Fields.

Predetermined Join Fields

Signed fields may be used for numeric predetermined joined fields.

Built-In Functions

When used in Built-In Functions, Signed fields are valid for arguments of type 'N'.

Conversion

Refer to Field Type Conversions.

 

Platform Considerations

Also See

1.1.7 Packed

1.1.9 Integer

1.1.10 Float