Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


8.8.7 * operator (multiplication) (find the product of two numbers)

Purpose

Finds the product of two numbers.

Syntax

Result = Number1 * Number2

Arguments
Result

Specify a variable for storing the product of the two numbers.

Number1

Write any numerical expression.

Number2

Write any numerical expression.

Description

The * operator multiplies Number1 by Number2 and returns the product.

Expressions with Empty values are handled as zero.

Note

When Result and Number1 are the same variable, you can use the *= operator instead.

Example
' This code stores 35 in variable result1.
result1 = 7 * 5
JP1/Script version

Supported from JP1/Script 01-00.