Convert a string to a single using the current numberformat
Namespace: PalmSens.DataFiles
Assembly: PalmSens (in PalmSens.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Protected Function ToSingle( _ ByVal s As String _ ) As Single |
| C# |
|---|
| protected float ToSingle( string s ) |
| C++ |
|---|
| protected: float ToSingle( String s ) sealed |
| J# |
|---|
| protected float ToSingle( string s ) |
| JScript |
|---|
| protected
function ToSingle( s : String ) : float |
Parameters
- s
- string to convert
Return Value
corresponding single or 0.0F if no conversion was possible