SET DECIMALS

Toggle the console display

Syntax

SET DECIMALS TO [<nDecimal>]

Arguments

<nDecimal> Number of decimals places

Description

This command establishes the number of decimal places that Harbour will display in mathematical calculations,functions,memory variables, and fields.Issuing no parameter with this command will the default number of decimals to 0.For decimals to be seen,the SET FIXED ON command must be activated.
Examples
      SET FIXED ON
      ? 25141251/362
      SET DECIMALS TO 10
      ? 214514.214/6325
Status

Ready

Compliance

This command is Ca-Clipper compliant

See Also