I’m making a website where it would be nice to have the user see the X-axis and Y-axis of his mouse  , and I have that part coded easily with no trouble
 , and I have that part coded easily with no trouble  , but the problem
 , but the problem  is that the
  is that the  -axis   and Y-axis are shown in ugly
-axis   and Y-axis are shown in ugly  , and too long
, and too long  decimals. Is there a way to force the data to be in integers, or just two decimal digits at least?
 decimals. Is there a way to force the data to be in integers, or just two decimal digits at least?
Thanks either way,
~Hanzoh Alani
 
      
    
