Table of Contents

Class Result.NumberResult

Namespace
xFunc.Maths.Results
Assembly
xFunc.Maths.dll

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 double

The number value.

NumberResult(NumberValue)

Initializes a new instance of the Result.NumberResult class.

public NumberResult(NumberValue number)

Parameters

number NumberValue

The number value.

Properties

Number

Gets the number value.

public override NumberValue Number { get; }

Property Value

NumberValue

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)

public static implicit operator NumberValue(Result.NumberResult numberResult)

Parameters

numberResult Result.NumberResult

The number result.

Returns

NumberValue

The number value.