Int32ConversionFunctions.

ToString(int) Method

Summary

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

Syntax

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