 | CCHIMERArAtomicWeight Method |
Return the atomic weight of a particular element.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static double rAtomicWeight(
string element
)
public static double rAtomicWeight(
string element
)
Public Shared Function rAtomicWeight (
element As String
) As Double
Public Shared Function rAtomicWeight (
element As String
) As Double
public:
static double rAtomicWeight(
String^ element
)
public:
static double rAtomicWeight(
String^ element
)
static member rAtomicWeight :
element : string -> float
static member rAtomicWeight :
element : string -> float
Parameters
- element
- Type: SystemString
Element name (case insensitive)
Return Value
Type:
DoubleThe atomic weight of the given element.
Remarks
If the input string is not an element symbol (elements in the range
1-92, "H" to "U"), then returns a dummy (<define>GS_R8DM</define>).
See Also