Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SET POINT Command
Collapse the table of content
Expand the table of content

SET POINT Command

Visual Studio .NET 2003

Determines the decimal point character used in the display of numeric and currency expressions.

SET POINT TO [cDecimalPointCharacter]

Parameters

cDecimalPointCharacter
Specifies the character for the decimal point.

Remarks

Use SET POINT to change the decimal point from the default, which is a period (.). Issue SET POINT TO without cDecimalPointCharacter to reset the decimal point to a period. Although you can set the displayed decimal point to a different character, you must use a period as the decimal point in calculations.

SET POINT is scoped to the current data session.

Example

gnX = 1.25
gcNewPoint = '_'
SET POINT TO gcNewPoint 
? gnX
SET POINT TO      && Reset the decimal point to a period (.)
? gnX

See Also

SET DATASESSION | SET DECIMALS | SET FIXED | SET SEPARATOR | SET SYSFORMATS

Show:
© 2015 Microsoft