Thank you. I'm a bit embarrassed not to have spotted the problem with the mixer, having spent so long checking through everything, but i'm very happy to be able to progress with the project.
I'll implement your advice about using "#define" or "const float" to handle the floating point numbers...