Language Reference Guide : System Classes : FloatObject Class
 
Share this page          
FloatObject Class
The FloatObject class provides an object version of a floating-point value. In most circumstances, a simple float8 variable is the best floating point number to use. However, sometimes a simple object variant of the floating-point variable is useful.
For example, because array row references in OpenROAD must be reference variables and cannot be simple scalar variables, you cannot directly have an array that contains rows defined as single floating-point elements. However, you can easily get the same functionality by using an array of type FloatObject and referring to the Value attribute of the FloatObject to get or set the data. For example:
fobject.Value = sin(fobject.Value);
Inherits From
Object Class
Inherited By
None
Attributes
Value
Methods
None