Multiplication–binary

*
 Multiplication--binary                          (Mathematical)
------------------------------------------------------------------------------
 Syntax

     <nNumber1> * <nNumber2>

 Type

     Numeric

 Operands

     <nNumber1> and <nNumber2> are the two numeric expressions to
     multiply.

 Description

     The multiplication operator (*) is a binary operator that returns a
     numeric value from its operation on <nNumber1> and <nNumber2>.

 Examples

     .  This example shows multiplication results using different
        operands:

        ?  3 *  0            // Result:  0
        ?  3 * -2            // Result: -6
        ? -3 *  2            // Result: -6
        ? -3 *  0            // Result:  0
        ? -1 *  3            // Result: -3
        ? -2 * -3            // Result:  6
        ?  2 * -3            // Result: -6
        ?  1 * -3            // Result: -3

See Also: % ** + – / = (compound) SET DECIMALS SET FIXED

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.