SET FIXED
Category
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 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
Examples
SET FIXED ON ? 25141251 / 362 SET FIXED OFF
Compliance
Clipper
Seealso
SET DECIMALS, Exp(), Log(), Sqrt(), Val(), Set()
Pingback: Harbour Commands | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !