WinStudio

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.

Example

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

AUTOIME Keyword

BACKCOLOR Keyword

BLOBFORMAT Keyword

COMMA Keyword

DATE Keyword

DATETIME Keyword

DECIMAL Keyword

DECIMALPOINT Keyword

DEFAULTFORMAT Keyword

FONT Keyword

FORECOLOR Keyword

JUSTIFY Keyword

MASK Keyword

TIME Keyword

TRUNCATEDECIMAL Keyword