Open Rails

STFReader.ReadDoubleBlock Method

[This is preliminary documentation and subject to change.]

Read an double precision constant from the STF format '( {double_constant} ... )'

public double ReadDoubleBlock(
   doubledefaultValue
);

Parameters

defaultValue
the default value if the constant is not found in the block.

Return Value

The STF block with the first {item} converted to a double precision value.

See Also

STFReader Class | Orts.Parsers.Msts Namespace