ToolsConvertToDouble Method |
Converts a value into a string. Values should only contain ONE , or . as the decimal separator.
The method first replaces either all , or all . into the current decimal separator to hopefully
create the correct value for the current culture. This will not work with numbers containing
thousand-separators as well!
Namespace: RelaxIS_SDK.ToolsAssembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax public static double ConvertToDouble(
string s
)
Public Shared Function ConvertToDouble (
s As String
) As Double
Dim s As String
Dim returnValue As Double
returnValue = Tools.ConvertToDouble(s)
Parameters
- s String
- The string value containing the numberic value
Return Value
DoubleA double value if the conversion was successful, otherwise
DoubleSee Also