COMMAS keyword

Applies To

Form components with numeric data types

Property defaults with numeric data types

Component properties: Use Free Form, Format

Description

Specifies the interval between separators in a numeric value; the interval is normally three.

Syntax

COMMAS( integer )

Part Description
integer Expression that evaluates to an integer that specifies the number of digits between numeric separators in a component value.

Remarks

The COMMAS keyword affects only the visual format of values in WinStudio forms. The keyword can serve as a parameter of the DEFAULTFORMAT keyword in data-type specifications. See DEFAULTFORMAT, COMMA and DECIMALPOINT in Related Topics. Specifications with the MASK keyword override this specification.

In the following example, a comma (,) is inserted at an interval of every three digits in the value of a component (for example, the number 241365776 displays as 241,365,776):

COMMA(,)COMMAS(3)

Related topics