Harbour Reference Guide

 

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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30