Click or drag to resize

HalfTypeParse(String, IFormatProvider) Method

Converts the string representation of a number to its System.Half equivalent using the specified culture-specific format information.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static HalfType Parse(
	string value,
	IFormatProvider provider
)

Parameters

value  String
The string representation of the number to convert.
provider  IFormatProvider
An System.IFormatProvider that supplies culture-specific parsing information about value.

Return Value

HalfType
The System.Half number equivalent to the number contained in s as specified by provider.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
FormatExceptionvalue is not in the correct format.
OverflowExceptionvalue represents a number less than System.Half.MinValue or greater than System.Half.MaxValue.
See Also