📄 vsingle.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -