We have few days how to do math with beshe we can use a lot double parenthesis bracket expression keyboard
and B c keyboard from these options only b c operate.
Floating point.
What is really important to remember from these options is a lot and b c the lead keyboard is used usually
in the real world script.
And b c as we said is the option how to operate with floating points let's look on the first option.
What you can see that we have a variable called number let's say that we want to know the result of
a value of a variable number plus five Soviet type.
Last resort equals number plus five.
Make sure that no space is present around plus sign.
Do not notice that we didn't the dollar sign before a variable number.
That's correct when we using it.
We don't use dollar sign in front of variables using it.
We can also do easily increment or decrement operation for example that number plus plus is the easiest
way how to add 1 to the value of variable number.
As you can see you can also increment by any value using plus equal sign number plus equal sign 5 which
can be written into a lot number equals number plus five and other option how to do simple math is to
use double parentheses and you can see here the same example as we had previously.
Five plus value of a variable number
and after the array is to use brackets and it's quite similar as we've seen for baroness's is example
here is a way using expression exper first and second line.
Do the same thing do remember under Section common substitution first line it uses dollar sign and apparency
says second line uses Beckford apostrophes.
Don't forget that when you use expression you need to have spaces around Maat operand.
In our case plus
the last option is to use B C here is important to put mathematical expression into double quotes and
then use pipe followed by B C OK.
That was a quick summary.
Let's write some script and do some simple math.