Simple division
in
Programming Questions
•
1 year ago
Hello,
Want to make this division:
float pixels = 3.779527559;
axis=(mouseX - 45) / pixels;
It returns me the alert "cannot convert from float to int".
Any help is apreciated.
Thank you very much,
Marco.
Want to make this division:
float pixels = 3.779527559;
axis=(mouseX - 45) / pixels;
It returns me the alert "cannot convert from float to int".
Any help is apreciated.
Thank you very much,
Marco.
1