**Addition**

This will print "5.35".

`print 5.1 + 1.4;`

+= can be used to add to an already set variable. In this example, $i will equal 3.

```
$i = 1;
$i += 2;
print $i;
```

This will round the result to a whole number.

```
use integer;
print 5.1 + 1.4;
```

**Subtraction**

This will print "4.85".

`print 5.1 - 1.4;`

-= can be used to subtract from an already set variable. In this example, $i will equal 1.

```
$i = 3;
$i -= 2;
print $i;
```

This will round the result to a whole number.

```
use integer;
print 5.1 - 1.4;
```

**Multiplication**

This will print "7.14".

`print 5.1 * 1.4;`

This will round the result to a whole number.

```
use integer;
print 5.1 * 1.4;
```

**Division**

This will print "1.275".

`print 5.1 / 1.4;`

This will round the result to a whole number.

```
use integer;
print 5.1 / 1.4;
```