Method ToDouble
| Improve this Doc View SourceToDouble(ISectionsData, String, IFormatProvider)
Convert section data to doubles.
Declaration
public static IEnumerable<double> ToDouble(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 convert. |
| IFormatProvider | provider | An object that provides culture-specific formatting information. |
Returns
| Type | Description |
|---|---|
| IEnumerable<Double> | The section data in |
Remarks
provider is null, the default culture is InvariantCulture.
Exceptions
| Type | Condition |
|---|---|
| FormatException | If the data in the section are not |
| SectionNotFoundException | If the |