Click or drag to resize

FileCsvDocumentTryGetDouble Method (Int32, Int32, Double)

Retrieves the value of a cell as a double-precision number. The cell is evaluated with TryParseNumber(String, Double), so command-line math expressions (for example "1/2") are supported.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool TryGetDouble(
	int column,
	int row,
	out double value
)

Parameters

column
Type: SystemInt32
The zero-based column index (x).
row
Type: SystemInt32
The zero-based row index (y).
value
Type: SystemDouble
The parsed value, or 0.0 if the cell does not exist or cannot be parsed.

Return Value

Type: Boolean
true if the cell exists and was parsed; otherwise false.
See Also