User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

SET DECIMALS

Toggle the console display
Syntax
SET DECIMALS TO [<nDecimal>]
Argument(s)
<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.
Example(s)
SET FIXED ON
? 25141251 / 362
SET DECIMALS TO 10
? 214514.214 / 6325
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
See also

SET FIXED, Set()