Interval.ToString Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ToString() Gets a string representation of the interval.
ToString(String) Gets a string representation of the interval.
ToString(String, IFormatProvider) Gets a string representation of the interval.

ToString

Gets a string representation of the interval.
C#
public override string? ToString()

Return Value

String
A string representation of the interval.

ToString(String)

Gets a string representation of the interval.
C#
public string ToString(
	string? format
)

Parameters

format  String
A String that specifies the format to use.

Return Value

String
A string representation of the interval.

Remarks

The format string can have three arguments. Phase 0 is the LowerBound. Phase 1 is the UpperBound, and argument 2 is the Width of the interval.

ToString(String, IFormatProvider)

Gets a string representation of the interval.
C#
public string ToString(
	string? format,
	IFormatProvider? provider
)

Parameters

format  String
A String that specifies the format to use.
provider  IFormatProvider
The IFormatProvider object used to format the numbers.

Return Value

String
A string representation of the interval.

Remarks

The format string can have three arguments. Phase 0 is the LowerBound. Phase 1 is the UpperBound, and argument 2 is the Width of the interval.

See Also