diff --git a/js/main.js b/js/main.js index 36c042e..183d3eb 100644 --- a/js/main.js +++ b/js/main.js @@ -8,6 +8,6 @@ if (window.DeviceMotionEvent) { function deviceMotionHandler(eventData) { // Grab the acceleration from the results var acceleration = eventData.acceleration; - $("#accelerationX").html(acceleration.x.toPrecision(4)); + $("#accelerationX").html(acceleration.x.toPrecision(2)); } \ No newline at end of file