com.blueworld.lassopro
Class FloatValue

java.lang.Object
  |
  +--com.blueworld.lassopro.FloatValue

public class FloatValue
extends java.lang.Object

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

FloatValue

public FloatValue()

FloatValue

public FloatValue(float value)

FloatValue

public FloatValue(double value)
Method Detail

toString

public java.lang.String toString()
Converts the object to a string.

Overrides:
toString in class java.lang.Object

floatValue

public float floatValue()
Returns the value of this FloatValue as a float.


doubleValue

public double doubleValue()
Returns the value of this FloatValue as a double.


setFloat

public void setFloat(float value)

setDouble

public void setDouble(double value)