Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

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.

+-----------------------------------------------------------------------------+
| Addition       | Same as operand with the greatest number of decimal digits |
| Subraction     | 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

Status

      Ready

 Compliance

      This command is Ca-Clipper compliant



See Also: SET DECIMALS EXP() LOG() SQRT() VAL() SET()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson