Quad.Parse Method

Definition

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

Overload List

Parse(String) Converts a string value to a Quad.
Parse(ReadOnlySpan<Char>, IFormatProvider) Converts a span of characters to a Quad.
Parse(String, NumberStyles) Converts a string value to a Quad.
Parse(String, IFormatProvider) Converts a string value to a Quad.
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider) Converts a span of characters to a Quad.
Parse(String, NumberStyles, IFormatProvider) Converts a string value to a Quad.

Parse(String)

Converts a string value to a Quad.
C#
public static Quad Parse(
	string value
)

Parameters

value  String
The string to convert.

Return Value

Quad
The Quad value represented by value.

Exceptions

FormatException

value does not contain a valid floating-point value.

ArgumentNullException

value is null.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Converts a span of characters to a Quad.
C#
public static Quad Parse(
	ReadOnlySpan<char> value,
	IFormatProvider? provider
)

Parameters

value  ReadOnlySpan<Char>
The span to convert.
provider  IFormatProvider
An IFormatProvider that specifies how the string should be interpreted.

Return Value

Quad
The Quad value represented by value.

Implements

ISpanParsable<TSelf>.Parse(ReadOnlySpan<Char>, IFormatProvider)

Exceptions

FormatException

value does not contain a valid floating-point value.

ArgumentNullException

value is null.

Parse(String, NumberStyles)

Converts a string value to a Quad.
C#
public static Quad Parse(
	string value,
	NumberStyles style
)

Parameters

value  String
The string to convert.
style  NumberStyles
A NumberStyles value that specifies the allowed formats of the string.

Return Value

Quad
The Quad value represented by value.

Exceptions

FormatException

value does not contain a valid floating-point value.

ArgumentNullException

value is null.

Parse(String, IFormatProvider)

Converts a string value to a Quad.
C#
public static Quad Parse(
	string value,
	IFormatProvider? provider
)

Parameters

value  String
The string to convert.
provider  IFormatProvider
An IFormatProvider that specifies how the string should be interpreted.

Return Value

Quad
The Quad value represented by value.

Implements

IParsable<TSelf>.Parse(String, IFormatProvider)

Exceptions

FormatException

value does not contain a valid floating-point value.

ArgumentNullException

value is null.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Converts a span of characters to a Quad.
C#
public static Quad Parse(
	ReadOnlySpan<char> value,
	NumberStyles style,
	IFormatProvider? provider
)

Parameters

value  ReadOnlySpan<Char>
The span to convert.
style  NumberStyles
A NumberStyles value that specifies the allowed formats of the string.
provider  IFormatProvider
An IFormatProvider that specifies how the string should be interpreted.

Return Value

Quad
The Quad value represented by value.

Implements

INumberBase<TSelf>.Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Exceptions

FormatException

value does not contain a valid floating-point value.

Parse(String, NumberStyles, IFormatProvider)

Converts a string value to a Quad.
C#
public static Quad Parse(
	string value,
	NumberStyles style,
	IFormatProvider? provider
)

Parameters

value  String
The string to convert.
style  NumberStyles
A NumberStyles value that specifies the allowed formats of the string.
provider  IFormatProvider
An IFormatProvider that specifies how the string should be interpreted.

Return Value

Quad
The Quad value represented by value.

Implements

INumberBase<TSelf>.Parse(String, NumberStyles, IFormatProvider)

Exceptions

FormatException

value does not contain a valid floating-point value.

ArgumentNullException

value is null.

See Also