DoubleConversionFunctions.

ToString(double) Method

Summary

Converts the specified double to its equivalent string representation.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
DoubleConversionFunctions

Syntax

[Function("to-string")]
public static string ToString(double value)

Remarks

value is formatted with the System.Globalization.NumberFormatInfo for the invariant culture.

Attributes

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

Parameters

Name Type Description
value double A double to convert.

Return Value

Type Description
string The string representation of value formatted using the general format specifier ("G").