ConversionFunctions.

ToDouble(double) Method

Summary

Converts the argument to double
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
ConversionFunctions

Syntax

[Function("to-double")]
[Obsolete("Use type-specific conversion functions instead.", false)]
public static double ToDouble(double value)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.
ObsoleteAttribute

Parameters

Name Type Description
value double The value to be converted.

Return Value

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