Your problem was the Tag mismatch. When you have a Float variable and you equal it to something like
Float: myvar = (a + b) / c one of these (a, b or c) has to be a float in order to not have a tagmismatch. AFAIK from C++, when one variable is a float the whole term is converted into a float => no mismatch