mytest.java

来自「基于Java的地图数据管理软件。使用MySQL数据库管理系统。」· Java 代码 · 共 37 行

JAVA
37
字号
package net.aetherial.gis.excel;
import java.util.*;

public class myTest {

  public static Vector name=new Vector(),lat=new Vector(),lon=new Vector();
  public static Vector waypointName=new Vector(),waypointLat=new Vector(),waypointLon=new Vector();

  public myTest(){
// String[] number = new String[1000], name = new String[1000],
//        lat = new String[1000], lon = new String[1000];
  }
  public static void fresh(){
    name =null;
    name=new Vector();
    lat=null;
    lat=new Vector();
    lon=null;
    lon=new Vector();
    waypointName=null;
    waypointName=new Vector();
    waypointLat=null;
    waypointLat=new Vector();
    waypointLon=null;
    waypointLon=new Vector();
  }
  public static String turnDegree(){
    return "";
  }
  public static void main(String args[]){
    double test = 880.325673;
    test = Math.round(test*1000);
    test = test/1000;
    System.out.println(test);
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?