I built a simple Android "accelerometer" Sensor Application.
This is The Java Code link.
The output is like this:
X:8.87654322 Y:0.564321 Z:4.0195783
And sometimes it goes longer ...
I want to convert the float to an integer or just have 2 numbers
(I'm a beginner In Java.)
Thanks