vsingle.java
来自「一个简单的visio程序。」· Java 代码 · 共 43 行
JAVA
43 行
package HECore.stddata;
import HPCore.Exception.*;
public class VSingle extends VNumber{
/**
* Constructs a VString object representing a double in VB
**/
public VSingle(double db)
{
super(db);
}
/**
* Returns this object type
**/
public short getType()
{
return V_SINGLE;
}
/**
* Returns the string representaion of the VSingle object .
*/
public String toString()
{
try{
return (new Float(sglValue())).toString();
}catch(Exception e){System.out.println(e);return null;}
}
/**
* Returns the string representaion of the VSingle object .
*/
public String strValue()
{
try{
return (new Float(sglValue())).toString();
}catch(Exception e){System.out.println(e);return null;}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?