$("#"+options.latId).val(options.getLat().toFixed(Math.max(0,options.getPrecision())));