Quad.Parse Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Parse( | Converts a string value to a Quad. |
Parse( | Converts a span of characters to a Quad. |
Parse( | Converts a string value to a Quad. |
Parse( | Converts a string value to a Quad. |
Parse( | Converts a span of characters to a Quad. |
Parse( | Converts a string value to a Quad. |
Parse(String)
Converts a string value to a Quad.
public static Quad Parse(
string value
)
Parameters
- value String
- The string to convert.
Return Value
QuadThe Quad value represented by value.
Exceptions
Format | value does not contain a valid floating-point value. |
Argument | value is null. |
Parse(ReadOnlySpan<Char>, IFormatProvider)
Converts a span of characters to a Quad.
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
QuadThe Quad value represented by value.
Implements
ISpanParsable<TSelf>.Parse(ReadOnlySpan<Char>, IFormatProvider)Exceptions
Format | value does not contain a valid floating-point value. |
Argument | value is null. |
Parse(String, NumberStyles)
Converts a string value to a Quad.
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
QuadThe Quad value represented by value.
Exceptions
Format | value does not contain a valid floating-point value. |
Argument | value is null. |
Parse(String, IFormatProvider)
Converts a string value to a Quad.
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
QuadThe Quad value represented by value.
Implements
IParsable<TSelf>.Parse(String, IFormatProvider)Exceptions
Format | value does not contain a valid floating-point value. |
Argument | value is null. |
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
Converts a span of characters to a Quad.
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
QuadThe Quad value represented by value.
Implements
INumberBase<TSelf>.Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)Exceptions
Format | value does not contain a valid floating-point value. |
Parse(String, NumberStyles, IFormatProvider)
Converts a string value to a Quad.
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
QuadThe Quad value represented by value.
Implements
INumberBase<TSelf>.Parse(String, NumberStyles, IFormatProvider)Exceptions
Format | value does not contain a valid floating-point value. |
Argument | value is null. |