Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.