Your using floats. Try turning 2 into a float in any language and you'll get 2.0

2.0 + 2.0 = 4.0

...where is the five?