NAnt SDK Documentation - v0.92 |

# ConversionFunctions.ToDouble Method

NOTE: This method is now obsolete.

Use type-specific conversion functions instead.

Converts the argument to double

[Visual Basic]
<Obsolete(Message:="Use type-specific conversion functions instead.", IsError:=False), _ Function(Name:="to-double")>
Public Shared Function ToDouble( _
ByVal value As Double _
) As Double
[C#]
[Obsolete(Message="Use type-specific conversion functions instead.", IsError=False)]
[Function(Name="to-double")]
public static double ToDouble(
double value
);

#### Parameters

value
  The value to be converted.

#### Return Value

value converted to double. The function fails with an exception when the conversion is not possible.

#### See Also

ConversionFunctions Class | NAnt.Core.Functions Namespace