code: function (num, dec) {
  			this.writeDebug('roundNumber',arguments);
  			return Math.round(num * Math.pow(10, dec)) / Math.pow(10, dec);
  		}
docs: Rounding function used for distances
  
  @param num {number} the full number
  @param dec {number} the number of digits to show after the decimal
  @returns {number}