Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


18.4.6 Multiplying operators

Multiplying operators perform multiplication (*), division (/), and remainder calculation (%).

Organization of this subsection

(1) Format

Multiplicative expression
expression * expression
Divisional expression
expression / expression
Remainder calculation expression
expression % expression

(2) Description

Multiplying operators perform normal arithmetic conversion for operands, according to the data type. Both of the operands must have numeric values. If one or both of the operands are of the string type, this results in an error.

(3) Example of coding

MAIN
{
if (sloop_cnt > 10)
   AIT_Sleep(SLEEP_TIME / 2);
else
   AIT_Sleep(SLEEP_TIME * 2);
endif;
}

(4) Notes