Skip to content

9449883f 2d60 15b7 29fe d3154058b972

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Quantity(TQuantity).ToDouble Method (Expression)

Converts this object to a Double using the specified unit.

Namespace: Sundew.Quantities.Engine.Quantities
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

protected double ToDouble(
	Expression expression
)

C#

protected double ToDouble(
	Expression expression
)

VB

Protected Function ToDouble ( 
	expression As Expression
) As Double

VB

Protected Function ToDouble ( 
	expression As Expression
) As Double

C++

protected:
double ToDouble(
	Expression^ expression
)

C++

protected:
double ToDouble(
	Expression^ expression
)

F#

member ToDouble : 
        expression : Expression -> float 

F#

member ToDouble : 
        expression : Expression -> float 

Parameters

 

expression
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Expressions.Expression
The expression.

Return Value

Type: Double
The converted Double.

See Also

Reference

Quantity(TQuantity) Class
ToDouble Overload
Sundew.Quantities.Engine.Quantities Namespace

Clone this wiki locally