Get a long value. This is not needed directly, but as a nice side-effect from GetDouble.
@param index the index to get the value from @return the long value
int getLongAt(int index);