ToString

ToString()

public string ToString() ;

Description

Convert value to string format.

Returns

Converted string

ToString(string)

public string ToString(string format) ;

Description

Convert value to string format.

Parameters

Parameter Name Description
format Numeric format string (Int, Long, Float only)

Returns

Converted string

Remarks

For more information about numeric format specifiers, seeStandard Numeric Format StringsandCustom Numeric Format Strings.