Int64ConversionFunctions.

ToString(long) Method

Summary

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

Syntax

[Function("to-string")]
public static string ToString(long 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 long A long to convert.

Return Value

Type Description
string The string representation of value, consisting of a negative sign if the value is negative, and a sequence of digits ranging from 0 to 9 with no leading zeroes.