Java Long Number From toLongitude(long fsuipcLongitude)

Here you can find the source of toLongitude(long fsuipcLongitude)

Description

To convert to Degrees: If your compiler supports long long (64-bit) integers then use such a variable to simply copy this 64-bit value into a double floating point variable and multiply by 360.0/(65536.0 * 65536.0 * 65536.0 * 65536.0).

License

Apache License

Declaration

public static double toLongitude(long fsuipcLongitude) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /***//from w  ww  . j a  va  2  s  .  c  o m
     * To convert to Degrees:
     * If your compiler supports long long (64-bit) integers then use such a variable to simply copy this 64-bit value into a double floating point variable and multiply by 360.0/(65536.0 * 65536.0 * 65536.0 * 65536.0).
     * Either way, a negative result is West, positive East.
     */
    public static double toLongitude(long fsuipcLongitude) {
        return (fsuipcLongitude * (360.0 / (65536.0 * 65536.0 * 65536.0 * 65536.0)));
    }
}

Related

  1. toLongDate()
  2. toLongDefaultIfNull(Long configured, long theDefault)
  3. toLongExactWithoutOverflow(float value)
  4. toLongId(Integer i)
  5. toLongInt(byte[] b)
  6. toLongitude(String latLng)
  7. toLongLE(byte target[], int offset, int numBytes, long value)
  8. toLongList(String valus)
  9. toLongMatrix(Number[][] matrix)