Method ConvertToFloat
ConvertToFloat(char[], int, int)
Extracts a float value from char[] assuming we know the position of the start, end and decimal point.
Declaration
protected float ConvertToFloat(char[] chars, int startIndex, int length)
Parameters
Type |
Name |
Description |
char[] |
chars |
|
int |
startIndex |
|
int |
length |
|
Returns
ConvertToFloat(char[], int, int, out int)
Extracts a float value from char[] given a start index and length.
Declaration
protected float ConvertToFloat(char[] chars, int startIndex, int length, out int lastIndex)
Parameters
Type |
Name |
Description |
char[] |
chars |
|
int |
startIndex |
|
int |
length |
|
int |
lastIndex |
|
Returns