PowerParse(String) Method

Converts the string representation of a number to its Power equivalent.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
public static Power Parse(
	string s
)

Parameters

s  String
A string containing a number to convert.

Return Value

Power
A Power equivalent to the number contained in s.

Exceptions

ArgumentNullExceptions is null.
OverflowException s represents a number less than MinValue or greater than MaxValue.
FormatExceptions is not in the correct format.

See Also