1
00:00:01,590 --> 00:00:11,430
We have few days how to do math with beshe we can use a lot double parenthesis bracket expression keyboard

2
00:00:12,480 --> 00:00:17,330
and B c keyboard from these options only b c operate.

3
00:00:17,370 --> 00:00:18,950
Floating point.

4
00:00:18,950 --> 00:00:27,720
What is really important to remember from these options is a lot and b c the lead keyboard is used usually

5
00:00:27,780 --> 00:00:29,210
in the real world script.

6
00:00:29,400 --> 00:00:39,300
And b c as we said is the option how to operate with floating points let's look on the first option.

7
00:00:39,330 --> 00:00:47,050
What you can see that we have a variable called number let's say that we want to know the result of

8
00:00:47,110 --> 00:00:52,670
a value of a variable number plus five Soviet type.

9
00:00:52,740 --> 00:00:58,100
Last resort equals number plus five.

10
00:00:58,210 --> 00:01:02,720
Make sure that no space is present around plus sign.

11
00:01:02,740 --> 00:01:07,950
Do not notice that we didn't the dollar sign before a variable number.

12
00:01:08,170 --> 00:01:10,490
That's correct when we using it.

13
00:01:10,510 --> 00:01:16,810
We don't use dollar sign in front of variables using it.

14
00:01:16,960 --> 00:01:25,150
We can also do easily increment or decrement operation for example that number plus plus is the easiest

15
00:01:25,180 --> 00:01:30,070
way how to add 1 to the value of variable number.

16
00:01:30,310 --> 00:01:40,060
As you can see you can also increment by any value using plus equal sign number plus equal sign 5 which

17
00:01:40,060 --> 00:01:51,980
can be written into a lot number equals number plus five and other option how to do simple math is to

18
00:01:51,980 --> 00:01:58,030
use double parentheses and you can see here the same example as we had previously.

19
00:01:58,180 --> 00:02:01,960
Five plus value of a variable number

20
00:02:05,320 --> 00:02:11,640
and after the array is to use brackets and it's quite similar as we've seen for baroness's is example

21
00:02:15,090 --> 00:02:19,410
here is a way using expression exper first and second line.

22
00:02:19,410 --> 00:02:26,830
Do the same thing do remember under Section common substitution first line it uses dollar sign and apparency

23
00:02:26,840 --> 00:02:30,990
says second line uses Beckford apostrophes.

24
00:02:30,990 --> 00:02:37,870
Don't forget that when you use expression you need to have spaces around Maat operand.

25
00:02:37,920 --> 00:02:39,750
In our case plus

26
00:02:43,050 --> 00:02:52,120
the last option is to use B C here is important to put mathematical expression into double quotes and

27
00:02:52,120 --> 00:02:58,370
then use pipe followed by B C OK.

28
00:02:58,410 --> 00:03:00,020
That was a quick summary.

29
00:03:00,330 --> 00:03:03,730
Let's write some script and do some simple math.
