COMMA keyword

Applies To

Form components with numeric data types

Property defaults with numeric data types

Component properties: Use Free Form, Format

Description

Specifies the character to use as a separator in a numeric value; the separator is normally a comma.

Syntax

COMMA( character )

Part Description
character Expression that evaluates to a single character, which WinStudio inserts in a numeric value to separate numerals. The default character is the comma (,).

Remarks

The COMMA 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, COMMAS, and DECIMALPOINT in Related Topics. Specifications with the MASK keyword override this specification.

Example

In the following example, a period (.) is inserted at an interval of every three characters 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

COMMAS keyword

DATE keyword

DATETIME keyword

DECIMAL keyword

DECIMALPOINT keyword

DEFAULTFORMAT keyword

FONT keyword

FORECOLOR keyword

JUSTIFY keyword

MASK keyword

TIME keyword

TRUNCATEDECIMAL keyword