BigFloat.Parse Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Parse(String) Converts a string value to a BigFloat.
Parse(String, AccuracyGoal) Converts a string value to a BigFloat.
Parse(String, NumberStyles) Converts a string value to a BigFloat.
Parse(String, IFormatProvider) Converts a string value to a BigFloat.
Parse(String, AccuracyGoal, NumberStyles) Converts a string value to a BigFloat.
Parse(String, AccuracyGoal, IFormatProvider) Converts a string value to a BigFloat.
Parse(String, NumberStyles, IFormatProvider) Converts a string value to a BigFloat.
Parse(String, AccuracyGoal, NumberStyles, IFormatProvider) Converts a string value to a BigFloat.

Parse(String)

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

Parameters

value  String
The string to convert.

Return Value

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, AccuracyGoal)

Converts a string value to a BigFloat.
C#
public static BigFloat Parse(
	string value,
	AccuracyGoal accuracyGoal
)

Parameters

value  String
The string to convert.
accuracyGoal  AccuracyGoal
The AccuracyGoal for the parsed value.

Return Value

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, NumberStyles)

Converts a string value to a BigFloat.
C#
public static BigFloat 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

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, IFormatProvider)

Converts a string value to a BigFloat.
C#
public static BigFloat 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

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, AccuracyGoal, NumberStyles)

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

Parameters

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

Return Value

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, AccuracyGoal, IFormatProvider)

Converts a string value to a BigFloat.
C#
public static BigFloat Parse(
	string value,
	AccuracyGoal accuracyGoal,
	IFormatProvider provider
)

Parameters

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

Return Value

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, NumberStyles, IFormatProvider)

Converts a string value to a BigFloat.
C#
public static BigFloat 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

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

Parse(String, AccuracyGoal, NumberStyles, IFormatProvider)

Converts a string value to a BigFloat.
C#
public static BigFloat Parse(
	string value,
	AccuracyGoal accuracyGoal,
	NumberStyles style,
	IFormatProvider provider
)

Parameters

value  String
The string to convert.
accuracyGoal  AccuracyGoal
The AccuracyGoal for the parsed value.
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

BigFloat
The BigFloat value represented by value.

Exceptions

FormatExceptionvalue does not contain a valid floating-point value.
ArgumentNullExceptionvalue is null.

See Also