Specifying the Character Used as a Decimal Character

Decimal and floating point numbers generally contain a decimal character that marks the division between the ones place and the tenths place in the number. The symbol used as the decimal character in the U.S. is the period or "decimal point." In many European languages, a comma is used as the decimal character.

There is a global in the Vermont Views system that stores the value of the character to be used as the decimal character. Vermont Views recognizes this character as valid during picture validation, data conversion, and field validation.

The default system decimal character is a period. You can change this default with the set environment decimal separator character function, se_decseparator():

se_decseparator(dec_ch)

UCHAR dec_ch;        /* Character to use for decimal character        */


Home Contents Previous Next