This error should be a simple one but I cant seem to make it work. The problem lies in the fact that this very same code works earlier in the program. I don\'s see any reaso
In this line here:
z = (xy)(.8 * 1.732050808m);
you specify .8 as a literal, but without the 'm' suffix, the literal specifies a double.
z = (xy)(.8m * 1.732050808m);
will fix it.