Method GetFirstLineDouble
| Improve this Doc View SourceGetFirstLineDouble(ISectionsData, String, IFormatProvider)
Gets the first line of the section in double format.
Declaration
public static double GetFirstLineDouble(this ISectionsData sections, string sectionName, IFormatProvider provider = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ISectionsData | sections | The data of sections. |
| String | sectionName | The name of the section to gets in a specific format. |
| IFormatProvider | provider | An object that provides culture-specific formatting information. |
Returns
| Type | Description |
|---|---|
| Double | The first line in |
Remarks
provider is null, the default culture is InvariantCulture.
Exceptions
| Type | Condition |
|---|---|
| FormatException | If the first line is not an |
| SectionNotFoundException | If the |