Here you can find the source of toDoublePrecision(long fixedPrecisionOrdinate)
private static double toDoublePrecision(long fixedPrecisionOrdinate)
//package com.java2s; /* Copyright (c) 2014 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Contributors:/*from w w w . j a va2 s . c om*/ * Gabriel Roldan (Boundless) - initial implementation */ public class Main { private static final double FIXED_PRECISION_FACTOR = 10_000_000D; /** * Converts the requested coordinate from fixed to double precision. */ private static double toDoublePrecision(long fixedPrecisionOrdinate) { double ordinate = (double) fixedPrecisionOrdinate / FIXED_PRECISION_FACTOR; return ordinate; } }