private double
parseFixedPoint(String s)
{
	if (s.matches("^-?\\d+$"))
		return Integer.parseInt(s);
	else if (s.matches("^-?\\d+\\.\\d*$")) {
		String [] parts = s.split("\\.");
		double value = Integer.parseInt(parts[0]);
		double fraction = Integer.parseInt(parts[1]);
		if (value < 0)
			fraction *= -1;
		int digits = parts[1].length();
		return value + (fraction / Math.pow(10, digits));
	} else
		throw new NumberFormatException();
}
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