It is not errors. It is warnings. To prevent issuing these warnings you can explicitly specify float number literals
float DX=.50.0f;
const float DEVIATION = .50.0f;
Also it is a bad idea to put leading zeroes because for integer literals such numbers are considered as octal numbers. For example, after the definition