Class Result.NumberResult
Represents the number result.
public sealed class Result.NumberResult : Result
- Inheritance
-
Result.NumberResult
- Inherited Members
Constructors
NumberResult(double)
Initializes a new instance of the Result.NumberResult class.
public NumberResult(double number)
Parameters
number
doubleThe number value.
NumberResult(NumberValue)
Initializes a new instance of the Result.NumberResult class.
public NumberResult(NumberValue number)
Parameters
number
NumberValueThe number value.
Properties
Number
Gets the number value.
public override NumberValue Number { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator NumberValue(NumberResult)
Converts Result.NumberResult to NumberValue.
public static implicit operator NumberValue(Result.NumberResult numberResult)
Parameters
numberResult
Result.NumberResultThe number result.
Returns
- NumberValue
The number value.