|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.blueworld.lassopro.FloatValue
Wrapper for a primitive type float
or double
.
Used for returning decimal values from LassoCall.typeGetDecimal
method.
FloatValue f = new FloatValue(); if ( lasso.typeGetDecimal( newQuote, f ) == ERR_NOERR ) { lasso.outputTagData( "'AAPL': " + f.toString() ); }
Constructor Summary | |
FloatValue()
|
|
FloatValue(double value)
|
|
FloatValue(float value)
|
Method Summary | |
double |
doubleValue()
Returns the value of this FloatValue as a double . |
float |
floatValue()
Returns the value of this FloatValue as a float . |
void |
setDouble(double value)
|
void |
setFloat(float value)
|
java.lang.String |
toString()
Converts the object to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FloatValue()
public FloatValue(float value)
public FloatValue(double value)
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public float floatValue()
FloatValue
as a float
.
public double doubleValue()
FloatValue
as a double
.
public void setFloat(float value)
public void setDouble(double value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |