Show/Hide Toolbars

XSharp

NoteThis command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available

Purpose

Change the setting that determines the number of decimal places used to display numbers.

Syntax

SET DECIMALS TO [<nDecimals>]

Arguments

nDecimals Specifies the minimum number of decimal places to display. The default is two decimal places. The maximum number of decimal places is 18; the minimum is zero

Description

SET DECIMALS TO with no argument is equivalent to SET DECIMALS TO 0.  SET DECIMALS is functionally equivalent to SetDecimal().  

Assembly

XSharp.RT.DLL

See Also

SetDecimal(), SetDecimalSep(), SetFixed(),