# Multiplication: *

Multiplication is a matematical operation, it can be used for integers and real numbers.multiplication is an associative operation, therefore order of operands is important. it is necessary to pay attention to the type of output was large enough, otherwise the operation can easily cause an overflow. for example, multiplying two 16-bit numbers we need to put at least 32-bit variable, to prevent overflow.## *

### Description

`par1 * par2`

### Input

- par1 - Any number
- par2 - Any number

### Output

- Result - Any number with the larger type

Compatible programing languages:

Basic | Visual Basic .NET | FreeBASIC | C | C++ | Visual C++ .NET | C# | Java | JavaScript | Object Pascal | Pascal | Free Pascal | PHP

Basic | Visual Basic .NET | FreeBASIC | C | C++ | Visual C++ .NET | C# | Java | JavaScript | Object Pascal | Pascal | Free Pascal | PHP

### Examples

### Example

Multiplication the possible of use:```
x = 10 * 5; // x=50
y = 100 * 1.2; // y=120
z = (x / 5) * 10;// z=100
```

### Example

Even one example in what situations we can use the operation multiplication:```
i * 0xFF
10 * 3.14
(10 - j * 0.5) * 2
```

### Example

Other pieces of example codes:i = x * 5

x * 2 / y

x * 2 div y

(x * y)

(x * y)

(x * y)

You can find it in the following collections: arithmetic operators

Multiplication in another programming language: