|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.omnipilot.lassopro.DecimalValue
Wrapper for a primitive type float
or double
.
Used for returning decimal values from LassoCall.typeGetDecimal
method.
DecimalValue f = new DecimalValue(); if ( lasso.typeGetDecimal( newQuote, f ) == ERR_NOERR ) { lasso.outputTagData( "'AAPL': " + f.toString() ); }
Constructor Summary | |
DecimalValue()
|
|
DecimalValue(double value)
|
|
DecimalValue(float value)
|
Method Summary | |
byte |
byteValue()
Returns the value of this object as a byte . |
double |
doubleValue()
Returns the value of this DecimalValue as a double . |
float |
floatValue()
Returns the value of this DecimalValue as a float . |
int |
intValue()
Returns the value of this object as an int . |
long |
longValue()
Returns the value of this object as a long . |
void |
setDouble(double value)
|
void |
setFloat(float value)
|
short |
shortValue()
Returns the value of this object as a short . |
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 DecimalValue()
public DecimalValue(float value)
public DecimalValue(double value)
Method Detail |
public java.lang.String toString()
public byte byteValue()
byte
.
public short shortValue()
short
.
public int intValue()
int
.
public long longValue()
long
.
public float floatValue()
DecimalValue
as a float
.
public double doubleValue()
DecimalValue
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 |