Table of Contents

Class Result.RationalResult

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

Represents the rational result.

public sealed class Result.RationalResult : Result
Inheritance
Result.RationalResult
Inherited Members

Constructors

RationalResult(RationalValue)

Initializes a new instance of the Result.RationalResult class.

public RationalResult(RationalValue rational)

Parameters

rational RationalValue

The rational value.

Properties

Rational

Gets the rational value.

public override RationalValue Rational { get; }

Property Value

RationalValue

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 RationalValue(RationalResult)

public static implicit operator RationalValue(Result.RationalResult rationalResult)

Parameters

rationalResult Result.RationalResult

The rational result.

Returns

RationalValue

The rational value.