DoubleVariable
Derives from RuntimeVariable<T>
.
Description
Represents an observable double
value that can be shared and modified throughout the application.
Public Methods
Add(int)
- Adds a signedint
value to the variable.Add(float)
- Adds afloat
value to the variable.Add(double)
- Adds adouble
value to the variable.Subtract(int)
- Subtracts a signedint
value from the variable.Subtract(float)
- Subtracts afloat
value from the variable.Subtract(double)
- Subtracts adouble
value from the variable.MultiplyBy(int)
- Multiplies the variable by a signedint
value.MultiplyBy(float)
- Multiplies the variable by afloat
value.MultiplyBy(double)
- Multiplies the variable by adouble
value.DivideBy(int)
- Divides the variable by a signedint
value.DivideBy(float)
- Divides the variable by afloat
value.DivideBy(double)
- Divides the variable by adouble
value.CopyFrom(IntVariable)
- Copies the value of anotherIntVariable
into this variable.CopyFrom(FloatVariable)
- Copies the value of anotherFloatVariable
into this variable.CopyFrom(DoubleVariable)
- Copies the value of anotherDoubleVariable
into this variable.CopyTo(DoubleVariable)
- Copies the value from this variable into anotherDoubleVariable
.SetValue(int)
- Sets the value of this variable to a signedint
value.SetValue(float)
- Sets the value of this variable to afloat
value.