Home > Language Reference > Floating Point Calculation Functions > DecimalSeparator$

#DecimalSeparator$

The #DecimalSeparator$ system variable specifies the character used for the decimal separator in floating-point numbers.

Usage

In US, the decimal separator is a dot (.) In Europe, the decimal separator is a comma (,)

Syntax

#DecimalSeparator$ = <separator_character>

Parameters

<separator_character>, string, one character, decimal separator character. 

Remarks

If this system variable is not specified, the decimal separator in the Windows Region and Language Settings is used.

See also

Precision
Add$
Divide$
Multiply$
Subtract$

Example

#DecimalSeparator$ = "."         'Decimal separator is a dot