08-numbers-and-strings/01-numbers/questions/01-arithmetic-operators.md
4: Nice Try. But, that's not right. Sorry.
3: That's right. The remainder operator only works on integer values.
8 % 3
-(3 * -2)
var degree float64 = 10 / 4
3: That's right. An integer value cannot contain fractional parts.
var degree float64 = 3. / 2
1: That's right.
3.makes the whole expression a float value.
x variable?x := 5 * 2.
1: Look closely to 2 there.
2: Why? Because,
2.there makes the expressions a float value. Cool.3: Oh, come on! Life is not always true and false.
4: I can't see any double-quotes or back-quotes, can you?
x variable?x := 5 * -(2)
1: Why? Because, there only integer numbers.
2: I can't see any fractional parts there, can you?
3: Oh, come on! Life is not always true and false.
4: I can't see any double-quotes or back-quotes, can you?