Click or drag to resize

imbStringFormatsgetToStringDFormat Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the proper to string number dn.

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getToStringDFormat(
	this int input,
	int minCharacters = 3
)
Request Example View Source

Parameters

input
Type: SystemInt32
Highest number of items to show row number for
minCharacters (Optional)
Type: SystemInt32
The minimum characters - leading 0's.

Return Value

Type: String
Format string ready for ToString(format) call

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also