Click or drag to resize

imbStringFormatsgetTimeSecString Method (Int64, String, Int32)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the time seconds string.

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getTimeSecString(
	this long msec,
	string sufix = "s ",
	int decimals = 2
)
Request Example View Source

Parameters

msec
Type: SystemInt64
The msec.
sufix (Optional)
Type: SystemString
The sufix.
decimals (Optional)
Type: SystemInt32
The decimals.

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. 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