User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

SET FIXED

Set the number of decimal position to be displayed
Syntax
SET FIXED on | OFF | ( <lFixed> )
Argument(s)
<lFixed> Logical expression for toggle
Description
This command activates a system wide fixed placement of decimals places shown for all numeric outputs. If the value of <lFixed> is a logical true (.T.), FIXED will be turned ON; otherwise it will be turned OFF.
When SET DECIMALS OFF is used, the following rules apply to the number of decimal placed displayed.
 
Addition Same as operand with the greatest number of decimal digits
Subtraction Same as operand with the greatest number of decimal digits
Multiplication Sum of operand decimal digits
Division Determined by SET DECIMAL TO
Exponential Determined by SET DECIMAL TO
Log() Determined by SET DECIMAL TO
Exp() Determined by SET DECIMAL TO
Sqrt() Determined by SET DECIMAL TO
Val() Determined by SET DECIMAL TO
 
Example(s)
SET FIXED ON
? 25141251 / 362
SET FIXED OFF
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
See also

SET DECIMALS, Exp(), Log(), Sqrt(), Val(), Set()