DECIMAL keyword

Applies To

Form components with the data type DECIMAL

Property defaults with the data type DECIMAL

Component properties: Use Free Form, Format

Description

Specifies a character indicating the start of the fractional part of a decimal value of a component.

Syntax

DECIMAL( char )

Part Description
char Expression that evaluates to a character.

Remarks

The DECIMAL keyword can serve as a parameter of the DEFAULTFORMAT keyword in data-format specifications. See DEFAULTFORMAT in Related Topics. Specifications with the MASK keyword override this specification.

Example

A component value with the following format specification displays two digits to the right of the "." decimal point:

DATATYPE(DECIMAL) DECIMALPOINT(2) DEFAULTFORMAT(DECIMAL(.))

Rubriques liées