private long
parseDouble(Tokenizer st, String type, boolean required, long min, long max,
	    long defaultValue)
throws IOException
{
	Tokenizer.Token token = st.get();
	if (token.isEOL()) {
		if (required)
			throw st.exception("Invalid LOC " + type);
		st.unget();
		return defaultValue;
	}
	String s = token.value;
	if (s.length() > 1 && s.charAt(s.length() - 1) == 'm')
		s = s.substring(0, s.length() - 1);
	try {
		long value = (long)(100 * parseFixedPoint(s));
		if (value < min || value > max)
			throw st.exception("Invalid LOC " + type);
		return value;
	}
	catch (NumberFormatException e) {
		throw st.exception("Invalid LOC " + type);
	}
}
Creates an LOC Record from the given data
@param latitude The latitude of the center of the sphere
@param longitude The longitude of the center of the sphere
@param altitude The altitude of the center of the sphere, in m
@param size The diameter of a sphere enclosing the described entity, in m.
@param hPrecision The horizontal precision of the data, in m.
@param vPrecision The vertical precision of the data, in m.
src/main/java/core/org/xbill/DNS/LOCRecord.java