Java Long Number From longFromDB(String dbLong)

Here you can find the source of longFromDB(String dbLong)

Description

long From DB

License

Open Source License

Declaration

public static long longFromDB(String dbLong) 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

public class Main {
    public static long longFromDB(String dbLong) {
        // remove the first 2 digits
        String s = dbLong.substring(2);

        return Long.parseLong(s);
    }/*from   w  w  w .jav  a  2 s  . c  o  m*/
}

Related

  1. longFromBytes(byte b8, byte b7, byte b6, byte b5, byte b4, byte b3, byte b2, byte b1)
  2. longFrombytes(byte[] b, int pos)
  3. longFromBytes(byte[] buffer, int offset)
  4. longFromBytes(byte[] bytes, int index)
  5. longFromBytes(byte[] bytes, int offset)
  6. longFromLex(byte[] bytes)
  7. longFromObject(Object o)
  8. toLongAsObject(Object obj)
  9. toLongBE(byte[] b, int i)