|
EnergyParse(String, NumberStyles) Method
|
Converts the string representation of a number in a specified style to its
Energy equivalent.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.300-beta+b2186e2cd1f968c931b0e151fdd7c839f3d1e9cf
SyntaxGSF.Units.Energy.Parse = function(s, style);
View SourceParameters
- s String
- A string containing a number to convert.
- style NumberStyles
-
A bitwise combination of System.Globalization.NumberStyles values that indicates the permitted format of s.
Return Value
Energy
An
Energy equivalent to the number contained in s.
Exceptions
See Also