Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>/ division of two numbers -- binary (mathematical)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/              Division of two numbers -- binary          (Mathematical)


Syntax:        <expN1> / <expN2>

Type:          Numeric

Operands:      <expN1> is the dividend of the division operation.

               <expN2> is the divisor of the division operation.

Description:   / returns a numeric from the division of <expN1> by
               <expN2>.

               Note: Dividing <expN1> with zero value for <expN2>
               results in an Expression error.


----------------------------------- Examples -------------------------------

   SET DECIMALS TO 16
   ?  3 /  0                            && Result: Expression error
   ?  3 / -2                            && Result: -1.500000000
   ? -3 /  2                            && Result: -1.500000000
   ? -3 /  0                            && Result: Expression error
   ? -1 /  3                            && Result: -0.333333333
   ? -2 /  3                            && Result: -0.666666667
   ?  2 / -3                            && Result: -0.666666667
   ?  1 / -3                            && Result: -0.333333333


See Also: % * ** + - Expr_error() SET DECIMALS SET FIXED

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