basic.*.multiply

Operator/BASIC Program, Releases: AP and R83

Arithmetic multiply operator

Syntax

num.expression * num.expression

Description

A mathematical operator indicating a multiply operation.

Example

gross.wages = hours.worked * hourly.rate

This example illustrates the use of '*' to indicate multiplication.

See Also

Command Name Type Description
basic.num.expression Definition An expression which evaluates to a number.
basic.precedence Definition Precedence of compound expressions.
basic.operators Relational Operator Operators * ! & = # - + / ^ < > \ [ ] ( )
arithmetic.operators Definition add, subtract, multiply, and divide numeric operands in arithmetic expressions.
basic.arithmetic.expressions Definition Arithmetic expressions.
basic.*= Assignment Operator Multiplies numeric expression and assigns to variable.
basic.+= Assignment Operator Adds numeric expression and assigns to variable.
basic.:= Assignment Operator Concatenates expression and assigns to variable.
basic.-= Assignment Operator Subtracts numeric expression and assigns to variable.
basic.precision Statement Defines precision for calculations.
basic./= Assignment Operator Divides numeric expression and assigns to variable.
basic.! Logical Operator Logical 'or' operator and remark line indicator.
basic.+ Operator Arithmetic operator (add). Also unary plus.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.