If the map coordinates show a decimal point, the problem is that the browser is zoomed in or out. If the browser is set to display at 100%, then the numbers will be whole number integers.