SET FIXED

Set the number of decimal position to be displayed

Syntax

SET FIXED on | OFF | (<lFixed>)

Arguments

<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 follow rules aply to the number of decimal placed displayed.

AdditionSame as operand with the greatest number of decimal digits
SubractionSame as operand with the greatest number of decimal digits
MultiplicationSum of operand decimal digits
DivisionDetermined by SET DECIMAL TO
ExponentialDetermined 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
Examples
      SET FIXED ON
      ? 25141251/362
      SET FIXED OFF
Status

Ready

Compliance

This command is Ca-Clipper compliant

See Also