How to perform division on mouseX and println the result (ie. show mouse position as percentage not pixels)
in
Programming Questions
•
2 years ago
I'd like to print the coordinates of the mouse as a percentage as opposed to pixels. I am able to add or subtract from mouseX but cannot divide.
Thank you.
KB
1